fomantic / Fomantic-UI

Fomantic-UI is the official community fork of Semantic-UI
https://fomantic-ui.com
MIT License
3.56k stars 331 forks source link

[css] vertical margin #2928

Open mvorisek opened 1 year ago

mvorisek commented 1 year ago

Bug Report

I am not sure about the correct vertical margin nor how the fix will affect other styles.

Maybe more inline components than buttons need to be fixed. In theory, any inline compoennt can wrap, so when the background is set, the top or bottom margin must be > 0.

Steps to reproduce

https://jsfiddle.net/t6p2bn8c/1/

Expected result

image

Actual result

image

Version

2.9.3

ko2in commented 1 year ago

There is already spaced buttons group.

lubber-de commented 1 year ago

What @ko2in said.. We implemented wrapping and spaced to handle at least button groups via #2217 Unfortunately you cannot detect if inline elements are actually wrapped via pure CSS.