1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'Styling and Customization Questions' started by Jaxel, Mar 11, 2014.

  1. Jaxel

    Jaxel Well-Known Member

        .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.
    DBA, Russ and Iversia like this.
  2. Iversia

    Iversia Well-Known Member

    I just noticed this and it's been bothering me ever since.
  3. Mike

    Mike XenForo Developer Staff Member

    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.
    Russ likes this.
  4. Iversia

    Iversia Well-Known Member

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


Share This Page