[Segment] - Piled Segments are not piled when on background colors
See original GitHub issueEDIT This description was updated after better investigation.
Steps to Reproduce
- Create any element with a background color and sufficient padding to contain the piles.
- Create a
piled
segment within the element with the background color.
Expected Segments to appear piled. They are not piled as the ::before and ::after pseudo elements use negative z-index values which are placed beneath the background color.
Result The segment looks like a regular segment.
Testcase
Issue Analytics
- State:
- Created 7 years ago
- Comments:12 (7 by maintainers)
Top Results From Across the Web
How to use invert color with semantic-ui piled segment?
I'm playing with semantic-ui piled segment but got some trouble when trying to invert color. HTML. <div class="ui blue inverted piled ...
Read more >Segment | Semantic UI
A segment is used to create a grouping of related content. ... Piled segments use negative z-index to format the additional pages below...
Read more >Default label font colors has mind of its own
In a stacked bar chart - for example - Tableau smartly decides which label ... One minute I enjoyed the smart contrast between...
Read more >registro.senescyt.gob.ec/coretics/vendor/semantic/...
... .ui.piled.segments:after, .ui.piled.segments:before, .ui.piled.segment:after, .ui.piled.segment:before { background-color: @white; visibility: visible; ...
Read more >Segment | Fomantic-UI Docs
Piled segments use negative z-index to format the additional pages below the segment. In order for them to appear correctly, your segment's offset...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It appears they are correct on the doc site now. Mac OSX 10.10.5 (14F1909), Chrome 52.0.2743.116 (64-bit).
However, when placed in a Column, they are still missing:
A piled segment requires the containing element to have
z-index: 1
. Adding this to the Column resolves the issue:I see your fiddle renders OK. I’ll double check versions and styles here and see if it is something the React docs are loading on top of SUI.