Skip Navigation

Custom CSS updates | dR Bulletin Board

Custom CSS updates | dR Bulletin Board

Whenever you visit #dRBB, you will see slight changes in the #Kbin header. I moved instance's home link to the right to prevent any accidental exits. And there is now a solid icon just in case.

If you have any suggestions, feel free to leave a reply.

#drbboard

12

You're viewing part of a thread.

Show Context
12 comments
  • @melroy LGTM! But it jumps on each page reload, like any other image on Kbin. šŸ¤” Seems like a cache issue, worth another ticket.

    In this case, image width can be fixed to avoid hiccups - but if it's meant to change again, it's not a real solution.

    • @vintprox That is because the image doesn't have a predefined width="" field: ``... However, that can not be a static value if somebody wants to upload another logo.. so it needs to bit configurable somehow (eg. via dot config or somewhere in config/ directory).

      • @vintprox Unless.. the Twig template switches between different kind of HTML tags. We can maybe set it static to this mbin_Logo.svg for now eg via an additional ID/Class in CSS (but not on custom logos)?

        • @melroy If config is the primary way for admins to change logo's appearance, which I doubt, then configuration option for width looks sensible. Otherwise, aren't they going to tackle CSS anyway?

          • @vintprox The user might only change the logo via the setting, without tinkering CSS stylesheets.

            I didn't check the code, but we could set width attribute by default if Twig switches between default logo and user logo.

12 comments