13

When viewing a protected question while logged out, there appears to be some padding missing. If you look closely it seems that "Not the answer you're looking for?..." overlaps the "Protected..." message. This looks to be present in all site designs, although potentially not in the beta sites layout? (example)

enter image description here

Live Examples:

How can I tag friends in a YouTube video on Facebook?

Does using == in JavaScript ever make sense?

What happens when you don't wind up the music box in Five Nights at Freddy's 2?

How can I reset the answers of the security questions of my Apple ID?

Present in latest Chrome & Firefox.

4
  • Could you add a link to that question and your browser version ! ? Commented Feb 5, 2014 at 17:43
  • Sorry it was the webmaster's site (beta, stackexchange). Browser is chrome Version 32.0.1700.107 m
    – JonH
    Commented Feb 5, 2014 at 17:45
  • Hi Jon - I just came across this bug, and found your meta question when about to post my own. Added some extra details that I was going to put in my post, hope you don't mind!
    – Chris
    Commented Jan 8, 2015 at 23:26
  • Looks like this has been fixed at some point, probably as a side effect of other styling changes. Commented Jun 23, 2015 at 20:53

1 Answer 1

2

The overlap is caused by the CSS rule margin-bottom: -5px applied to the .question-status class. Simply deactivating the rule eliminates it, although it still doesn't leave any actual margin between the status box and the notice below it.

Changing the status box styling is somewhat complicated by the fact that, apparently, it can appear in many locations. For example, here on MSO, it's apparently placed just below the question, but above the answers, while on web apps the placement is like in your screenshot.

One simple fix that should cause any unwanted side effects would be to add the following CSS rule:

.question-status + .bottom-notice { margin-top: 15px }

This will add an extra 15px margin to the "Not the answer you're looking for?" notice whenever it appears below the question status box, canceling the negative margin on the box and adding 10 pixels of actual margin for legibility.

Edit: While waiting for a proper fix from the SE devs, I've added the fix above to Stack Overflow Unofficial Patch 1.8.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .