vote up 4 vote down
star

It seems like the symbol + in the custom css is automatically replaced by a space. For example, if I add the custom css

h1 + h2 { margin-top: -5mm }

(so that extra space is removed from any h2 that immediately follows an h1), it is changed into

h1   h2 { margin-top: -5mm }

so it doesn't work.

flag
good find anton – debug Feb 8 at 16:55

3 Answers

vote up 4 vote down

Confirmed. The adjacent sibling selector (+) is replaced with a space (' ') within the editor (and the published CSS). The other selector types seem to work fine.

link|flag
Thanks for confirming. – Anton Geraschenko Feb 7 at 5:28
vote up 2 vote down

I've opened a case to look into it (FC1853909)

link|flag
vote up 2 vote down

Sounds like this will be fixed on Monday 3/1. See the latest post on the StackExchange blog.

link|flag

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.