Skip to content

Commit

Permalink
fix(segment): ignore attached border when basic
Browse files Browse the repository at this point in the history
A basic attached segment should not have borders.
  • Loading branch information
lubber-de committed Nov 23, 2021
1 parent b86479c commit 398ed43
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/definitions/elements/segment.less
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,9 @@
width: @attachedWidth;
max-width: @attachedWidth;
box-shadow: @attachedBoxShadow;
border: @attachedBorder;
&:not(.basic) {
border: @attachedBorder;
}
}
.ui.attached:not(.message):not(.text) + .ui.attached.segment:not(.top) {
border-top: none;
Expand Down

0 comments on commit 398ed43

Please sign in to comment.