Browse Source

Fixes #1181 issue with horizontal segment specificity

pull/1191/head
jlukic 10 years ago
parent
commit
4fc60efd9a
1 changed files with 6 additions and 4 deletions
  1. 10
      src/definitions/elements/segment.less

10
src/definitions/elements/segment.less

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

Loading…
Cancel
Save