diff --git a/src/definitions/elements/segment.less b/src/definitions/elements/segment.less index afc74a7d3..8d4c5fe3f 100755 --- a/src/definitions/elements/segment.less +++ b/src/definitions/elements/segment.less @@ -48,7 +48,8 @@ visibility: hidden; } -.ui.vertical.segment { +/* Vertical */ +.ui[class*="vertical segment"] { margin: 0em; padding-left: 0em; padding-right: 0em; @@ -58,15 +59,16 @@ border: none; box-shadow: 0px 1px 0px @borderColor; } -.ui.vertical.segment:first-child { +.ui[class*="vertical segment"]:first-child { padding-top: 0em; } -.ui.vertical.segment:last-child { +.ui[class*="vertical segment"]:last-child { padding-bottom: 0em; box-shadow: none; } -.ui.horizontal.segment { +/* Horizontal */ +.ui[class*="horizontal segment"] { margin: 0em; padding-top: 0em; padding-bottom: 0em;