Browse Source

More intelligent handling of multiple attached segments

pull/1177/head
jlukic 10 years ago
parent
commit
c52c4ee4e7
2 changed files with 4 additions and 3 deletions
  1. 6
      src/definitions/elements/segment.less
  2. 1
      src/definitions/elements/step.less

6
src/definitions/elements/segment.less

@ -458,13 +458,14 @@
box-shadow: @attachedBoxShadow;
border: @attachedBorder;
}
.ui.segment.attached + .ui.segment.attached {
border-top: none;
}
/* Top */
.ui[class*="top attached"].segment {
top: @attachedTopOffset;
bottom: 0px;
border-bottom: none;
margin-top: @margin;
margin-bottom: 0em;
border-radius: @borderRadius @borderRadius 0em 0em;
@ -475,7 +476,6 @@
/* Bottom */
.ui.segment[class*="bottom attached"] {
border-top: none;
top: @attachedBottomOffset;
bottom: 0px;
margin-top: 0em;

1
src/definitions/elements/step.less

@ -268,6 +268,7 @@
width: 100%;
}
/* Attached */
.attached.ui.steps {
margin: 0em;

Loading…
Cancel
Save