n8design / htwoo

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

Wrong label alignment when using hoo-mtag as <button> #110

Closed gabbsmo closed 7 months ago

gabbsmo commented 7 months ago

Describe the bug When using the hoo-mtag component on a <button> tag, the label is not aligned as expected.

To Reproduce

  1. Open Tag Link in Pattern Lab
  2. Use DevTools to change the <a> tag to <button> tag

Expected behavior Label alignment should not move.

Desktop

Additional context Not sure if hoo-mtag is meant to support <button> but I saw some button selector when debugging this.

StfBauer commented 7 months ago

It was not an alignment issue it was casue by different fonts. Thanks for reporting this.