From 61fdbfcf97dead864494f0ac723052860ca8d232 Mon Sep 17 00:00:00 2001 From: spez Date: Fri, 7 Nov 2008 11:09:08 -0800 Subject: [PATCH] fixed ie rendering bug --- r2/r2/lib/normalized_hot.py | 2 +- r2/r2/public/static/reddit.css | 3 +++ r2/r2/templates/help.html | 6 ++++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/r2/r2/lib/normalized_hot.py b/r2/r2/lib/normalized_hot.py index 88ff43e3f..13ec531ee 100644 --- a/r2/r2/lib/normalized_hot.py +++ b/r2/r2/lib/normalized_hot.py @@ -72,7 +72,7 @@ def cached_query(query, sr): query._read_cache = read_cache res = list(query) - + return res def get_hot(sr): diff --git a/r2/r2/public/static/reddit.css b/r2/r2/public/static/reddit.css index 5e3dd3ed3..1d310857e 100644 --- a/r2/r2/public/static/reddit.css +++ b/r2/r2/public/static/reddit.css @@ -92,6 +92,7 @@ input[type=checkbox], input[type=radio] { margin-top: .4em; } position: relative; _height: 0px; /*ie6 hack*/ background-color: #cee3f8; + z-index: 99; } #header-img {margin-top: 2px;} @@ -594,6 +595,8 @@ before enabling */ border: none; } +.organic-help-button { padding: 0 .5ex; } + .sponsored-tagline { color: #808080; bottom: 0; diff --git a/r2/r2/templates/help.html b/r2/r2/templates/help.html index 1662808b8..68c7703e5 100644 --- a/r2/r2/templates/help.html +++ b/r2/r2/templates/help.html @@ -38,12 +38,14 @@ fmt = _("Click %(here)s to disable this feature."), fmt_param = "here", question = _("are you sure?"), - yes = _("yes"), no = _("no"))} + yes = _("yes"), no = _("no"), + a_class="organic-help-button")} %endif ${state_button("nvm" + name, name, _("here"), "hide('%s-help'); return false;" % name, "", fmt = _("Click %(here)s to close help."), - fmt_param = "here")} + fmt_param = "here", + a_class="organic-help-button")}