Browse Source

Fixes attached segment not receiving :first/:last child stylings

pull/329/head
jlukic 11 years ago
parent
commit
7bfa4de071
1 changed files with 8 additions and 1 deletions
  1. 9
      src/elements/segment.less

9
src/elements/segment.less

@ -37,7 +37,6 @@
.ui.segment:first-child {
margin-top: 0em;
}
.ui.segment:last-child {
margin-bottom: 0em;
}
@ -436,6 +435,7 @@
-webkit-box-shadow: 0px 0px 0px 1px #DDDDDD;
box-shadow: 0px 0px 0px 1px #DDDDDD;
}
.ui.top.attached.segment {
top: 0px;
bottom: -1px;
@ -447,6 +447,10 @@
-webkit-border-radius: 5px 5px 0px 0px;
border-radius: 5px 5px 0px 0px;
}
.ui.segment.top.attached:first-child {
margin-top: 0em;
}
.ui.segment.bottom.attached {
top: -1px;
bottom: 0px;
@ -458,3 +462,6 @@
-webkit-border-radius: 0px 0px 5px 5px;
border-radius: 0px 0px 5px 5px;
}
.ui.segment.bottom.attached:last-child {
margin-bottom: 0em;
}
Loading…
Cancel
Save