← Retour aux issues

Reserve space for style options label underline

publié le , mis à jour

⚙️ Ceci est une proposition de changement de code.

Rendez-vous sur sa page Coderberg pour l'osculter.

Avatar Codeberg de yoyo34yoyo34

This change fixes the shaky UI behaviour in the StyleChooser. It prevents the style options label from accidentally moving the style list down when clicked.

  1. Avatar Codeberg de etienneJretienneJr

    Thanks! tip: write" fix #2036 " in your comment so that the issue will be automaticaly closed when this PR will be merged.

  2. Avatar Codeberg de laemlaem

    I'm not sure to see the difference. Can you provide a gif showing it ? E.g. the handy https://gifcap.dev

  3. Avatar Codeberg de yoyo34yoyo34

    This is different than #2036.

    The issue here is that by default, the span element has no border-bottom, but when active, border-bottom: 2px solid is added. This results in the "flickering" or "shaky" behaviour demonstraded in the screenshot.


✏️ Participer à la discussion