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

Fixed #editorTabs has empty border value

Discussion in 'Resolved Bug Reports' started by rellect, Aug 26, 2013.

  1. rellect

    rellect Well-Known Member

    Admin template 'template_edit.css'
    #editorTabs a
        border-color: @ctrlUnit.border-top-color;
    There is no border-top value attached to @ctrlUnit.

  2. CyberAP

    CyberAP Well-Known Member

    @Mike once said that this is 'As designed' but I think it should be fixed with <xen:contentcheck>
  3. Jeremy

    Jeremy XenForo Moderator Staff Member

  4. CyberAP

    CyberAP Well-Known Member

    It generates invalid CSS stylesheets, that's why it's bad.
    Adam Howard likes this.
  5. Mike

    Mike XenForo Developer Staff Member

    As I said in the link, I'd evaluate them on a case by case basis if reported. In general, they won't be changed because it can theoretically come up in tons of places if people change style properties.

    This place will be changed as we don't allow changes of admin style properties (by end users) so the flexibility needed won't apply here.
    Jeremy likes this.
  6. CyberAP

    CyberAP Well-Known Member

    Probably the best way to solve this is to parse all CSS when at least one property in template doesn't exist, then just remove broken CSS properties in the final CSS. But yeah, that'd require a lot of coding and debugging.

Share This Page