Giter VIP home page Giter VIP logo

Comments (3)

Geometrically avatar Geometrically commented on June 8, 2024

image
What browser, and what screen size? I can't seem to reproduce.

from knossos.

Siphalor avatar Siphalor commented on June 8, 2024

I can confirm this on any iOS browser I tried on my iPhone SE - So seems broken on WebKit.

I can also confirm this on Firefox 87 (currently on Linux Mint but pretty sure I did the original screenshot on Windows).

I'm using a 4k screen with 2x upscaling but I don't think that matters since the same glitch happens on WebKit.

from knossos.

Siphalor avatar Siphalor commented on June 8, 2024

I think the glitch happens because "Notifications" is longer than the other texts and doesn't have enough space on it's own in the dropdown.

So it grows its own flexbox to the left and the icon gives up some space and therefore shrinks.

Edit:

More insights:
This seems to happen because "Siphalor" is shorter than "Geometrically" so the width of the dropdown that's tied to the width of the button is also smaller :)
Setting a min-width should fix that.

from knossos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.