canonical / vanilla-framework

From community websites to web applications, this CSS framework will help you achieve a consistent look and feel.
https://vanillaframework.io
GNU Lesser General Public License v3.0
816 stars 167 forks source link

Space character causes unexpected spacing in Search & Filter examples #5227

Open jmuzina opened 1 month ago

jmuzina commented 1 month ago

Describe the bug

There is extra spacing present between search & filter chips that is only present in the Vanilla examples, not in React Components.

To Reproduce

Steps to reproduce the behavior:

  1. Go to any Search and filter example (e.g., default)
  2. Open the search & filter panel
  3. Observe that there is extra space between the chips, that is not present in React Components. This can be seen in dev console as whitespace characters.

Expected behavior

No extra spacing between the chips.

Screenshots Expected behavior (React Components default example) image Actual behavior (Vanilla default example) image

Additional context

Originally reported by @dgtlntv in MM thread

Per @lyubomir-popov :

The way to avoid it is to either set font-size: 0; in the container, or eliminate space in the markup. As any white space like code tabulation gets rendered as a single space

syncronize-issues-to-jira[bot] commented 1 month ago

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/WD-13382.

This message was autogenerated