db-ui / mono

DB UX Design System Monorepo - Provides Design Tokens and components for Web UIs
https://db-ui.github.io/mono/review/main/
Apache License 2.0
35 stars 6 forks source link

DBInfotext is missing spaces around tags like bold, code etc #2714

Open bruno-sch opened 1 week ago

bruno-sch commented 1 week ago

Which generators are impacted?

Reproduction case

Add a text with tags such as b, strong, u or code to c. As DBInfotext uses display: flex, spaces around these tags are not displayed.

Expected Behaviour

Spaces around tags are also displayed within DBInfotext.

Screenshots

Bildschirmfoto 2024-06-04 um 11 54 38

Browser version

None

Add any other context about the problem here.

Explanation and possible solution: https://www.mattstobbs.com/flexbox-removing-trailing-whitespace/