From ebd300a08a23914d7f3e26b525be8a65f13ada9d Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 2 Nov 2011 18:51:27 +0100 Subject: [PATCH] set img in OxCell to block, fixes Firefox text-overflow: ellipsis bug --- source/Ox.UI/themes/classic/css/classic.css | 3 +++ source/Ox.UI/themes/modern/css/modern.css | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/source/Ox.UI/themes/classic/css/classic.css b/source/Ox.UI/themes/classic/css/classic.css index 1761d904..24f105fb 100644 --- a/source/Ox.UI/themes/classic/css/classic.css +++ b/source/Ox.UI/themes/classic/css/classic.css @@ -416,6 +416,9 @@ Lists .OxThemeClassic .OxTextList .OxItem .OxCell { border-right-color: rgb(224, 224, 224); } +.OxThemeClassic .OxTextList .OxItem .OxCell >img { + display: block; +} .OxThemeClassic .OxTextList .OxItem:nth-child(odd) { background: rgb(242, 242, 242); } diff --git a/source/Ox.UI/themes/modern/css/modern.css b/source/Ox.UI/themes/modern/css/modern.css index d5649a97..1ec6821d 100644 --- a/source/Ox.UI/themes/modern/css/modern.css +++ b/source/Ox.UI/themes/modern/css/modern.css @@ -409,6 +409,9 @@ Lists .OxThemeModern .OxTextList .OxItem .OxCell { border-right-color: rgb(32, 32, 32); } +.OxThemeModern .OxTextList .OxItem .OxCell >img { + display: block; +} .OxThemeModern .OxTextList .OxItem:nth-child(odd) { background: rgb(14, 14, 14); } @@ -755,4 +758,4 @@ Miscellaneous .OxThemeModern ::selection { background: rgb(192, 192, 192); //color: rgb(255, 255, 255); -} \ No newline at end of file +}