n8design / htwoo

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

Add min-height to hoo-meta-list #137

Closed gabbsmo closed 5 months ago

gabbsmo commented 6 months ago

Is your feature request related to a problem? Please describe. When a hoo-meta-list is empty, it occupies zero height. When a tag is added, the height changes and can cause other elements to move.

Describe the solution you'd like To reserve the height for the meta list with

.hoo-meta-list {
  min-height: 2.75rem; /* hoo-mtag height + margin */
}

Additional context While developers that do not want this behaviour can choose to not render the hoo-meta-list at all when it is empty, i realize this may be a minor breaking change that you may not want at this time or at all. Just putting my humble feature request on the issue tracker.

gabbsmo commented 6 months ago

FYI, so far I have done something bespoke for my app that makes this feature moot.

StfBauer commented 5 months ago

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