fix background in peers panel

This commit is contained in:
rlx 2016-01-17 16:13:36 +05:30
parent eb2e0a772b
commit 9baf222db1
1 changed files with 6 additions and 2 deletions

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'
}),