fix background in peers panel

This commit is contained in:
rlx 2016-01-17 16:13:36 +05:30
parent eb2e0a772b
commit 9baf222db1

View file

@ -45,9 +45,13 @@ oml.ui.peersPanel = function() {
users,
// FIXME: WRONG!
// FIXME: UGLY
$users = Ox.Element().css({
background: 'rgb(240, 240, 240)',
background: {
oxlight: 'rgb(240, 240, 240)',
oxmedium: 'rgb(144, 144, 145)',
oxdark: 'rgb(16, 16, 16)'
}[Ox.Theme()],
overflowX: 'hidden'
}),