From bd166b8fed927edf584ba5fa9a658162dcf00d8e Mon Sep 17 00:00:00 2001 From: Jack Lukic Date: Sat, 4 Jul 2015 13:14:09 -0400 Subject: [PATCH] Fix incorrect margin on attached segment #2503 --- RELEASE-NOTES.md | 2 ++ src/definitions/elements/segment.less | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 210204adc..f335ab07f 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -10,6 +10,8 @@ - **Dimmer** - Dimmer now removes variations like `blurring` and `inverted` when `destroy` is called. - **Dropdown** - Removes accidental console.log statement in dropdown - **Modal** - `scrolling modal` now correctly inherits rules so that it appears at top of screen on mobile +- **Label** - Fixes incorrect label sizing for `large` and bigger sizes #2486 +- **Segment** - Fixed incorrect margin set on `attached segment` #2503 ### Version 2.0.0 - June 30, 2015 diff --git a/src/definitions/elements/segment.less b/src/definitions/elements/segment.less index 121ee4af2..0dbcc772e 100755 --- a/src/definitions/elements/segment.less +++ b/src/definitions/elements/segment.less @@ -693,7 +693,7 @@ .ui[class*="top attached"].segment { top: @attachedTopOffset; bottom: 0px; - margin-top: @margin; + margin-top: @verticalMargin; margin-bottom: 0em; border-radius: @borderRadius @borderRadius 0em 0em; } @@ -706,7 +706,7 @@ top: @attachedBottomOffset; bottom: 0px; margin-top: 0em; - margin-bottom: @margin; + margin-bottom: @verticalMargin; box-shadow: @attachedBottomBoxShadow; border-radius: 0em 0em @borderRadius @borderRadius; }