XF 1.3 Why does the MultiQuote function have its own padding?

Jaxel

Well-known member
#1
Code:
    .message .publicControls .MultiQuoteControl
    {
        padding: 0 4px;
        border-radius: 2px;
        margin-left: 8px;
    }
I'm curious on why this exists. It basically makes the multiquote react differently to the style of all other publicControls. Also curious, as its the javascript identifier being targetted here; which seems to go against the standards of styling in XenForo.
 

Mike

XenForo developer
Staff member
#3
It's mostly for the selected state, though it does seem to separate out a bit extra. Could possibly do with a bit of tweaking.

We don't have a hard line against targeting JS selectors for CSS, though its generally not preferable.
 

Iversia

Well-known member
#4
It's just a lot more noticeable for themes that have styled their publicControls to look like buttons (specially how it overrides the padding).

upload_2014-3-12_12-31-13.png
 
Top