From c52c4ee4e745112f9a0334d8f956c30a11e33030 Mon Sep 17 00:00:00 2001 From: jlukic Date: Wed, 8 Oct 2014 16:20:36 -0400 Subject: [PATCH] More intelligent handling of multiple attached segments --- src/definitions/elements/segment.less | 6 +++--- src/definitions/elements/step.less | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/definitions/elements/segment.less b/src/definitions/elements/segment.less index c3fb03c04..9d613e711 100755 --- a/src/definitions/elements/segment.less +++ b/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; diff --git a/src/definitions/elements/step.less b/src/definitions/elements/step.less index 68dd8a2ce..9df149fab 100755 --- a/src/definitions/elements/step.less +++ b/src/definitions/elements/step.less @@ -268,6 +268,7 @@ width: 100%; } + /* Attached */ .attached.ui.steps { margin: 0em;