diff --git a/r2/r2/public/static/css/reddit.css b/r2/r2/public/static/css/reddit.css index 389e236f2..c7c4088ec 100755 --- a/r2/r2/public/static/css/reddit.css +++ b/r2/r2/public/static/css/reddit.css @@ -884,7 +884,7 @@ a.author { margin-right: 0.5em; } text-decoration: underline; } -.help a.open { +.help a.open, .help a.close { margin: 0px 5px 5px 0; position: absolute; right: 0px; @@ -893,6 +893,7 @@ a.author { margin-right: 0.5em; } .help.help-cover { + position: relative; background-color: #F8F8F8; border: 1px solid gray; font-size: 110%; diff --git a/r2/r2/templates/spotlightlisting.html b/r2/r2/templates/spotlightlisting.html index b709ef7ed..aa8c4cff3 100644 --- a/r2/r2/templates/spotlightlisting.html +++ b/r2/r2/templates/spotlightlisting.html @@ -51,14 +51,6 @@ -<% - fmt = _("Click %(here)s to close help.") - title = _("here") - link = '%s' % title - link = (fmt % dict(here = link)) - link = unsafe(link.replace(" <", " <").replace("> ", "> ")) -%> -
This sponsored link is an advertisement generated with our self-serve advertisement tool. . @@ -66,9 +58,9 @@
Use of this tool is open to all members or reddit.com, and for as little as $20 you can advertise in this area. Get started »
-- ${link} -
+- %endif - ${link} - %if not c.user_is_loggedin: -
%endif +