Semantic-Org / Semantic-UI-Docs

Official Documentation for Semantic UI

Home Page:http://www.semantic-ui.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rail size examples do not work

levithomason opened this issue · comments

We're building out Stardust (Semantic-UI-React) and noticed the Rail size examples do not change the size of the Rail content. This is because the examples use a ui segment as the content. Both the sized Rail and the Segment use rem font-size values for sizing. So the Rail changes to the font-size do not affect the Segment 1rem size.

I'm not sure if the fix here is to make Segments use em font-size when children of Rails, or to update the docs to not use Segment children in Rail size examples.

Current Docs

I've clipped the paragraph images so as to fit the sizes all into one screenshot.

image

Stardust Docs

We're opting for now to not use Segments so the size can be seen. Discussion here.

image