n8design / htwoo

hTWOo - a better Fluent UI framework.
http://my.n8d.at/hTWOo
MIT License
93 stars 9 forks source link

Search box icon border not aligned #132

Closed gabbsmo closed 5 months ago

gabbsmo commented 7 months ago

Describe the bug Depending on DPI, zoom etc. the borders of the search box's icon and input are not always aligned

To Reproduce Steps to reproduce the behavior:

  1. Go to Pattern Lab
  2. Zoom using the browser

Expected behavior The borders should always be aligned.

Screenshots image

Desktop (please complete the following information):

Additional context This seem to be a rounding error. The icon is always 32px in height, while the input is 31.44 in my case. A workaround is to use height: 2rem for the input, rather than height: fit-content.

StfBauer commented 5 months ago

🛳️ Shipped in 2.5.0 - https://lab.n8d.studio/htwoo/changelog/htwoo-core-cl/