Skip to content

Commit

Permalink
feat(segment): add fitted variant
Browse files Browse the repository at this point in the history
Closes #701
  • Loading branch information
lubber-de authored and Sean committed Apr 29, 2019
1 parent 3b923dd commit f03c4ec
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/definitions/elements/segment.less
Original file line number Diff line number Diff line change
Expand Up @@ -685,6 +685,19 @@ each(@colors,{
margin-bottom: @verticalMargin;
}

/*--------------
Fitted
---------------*/

.ui.fitted.segment:not(.horizontally) {
padding-top: 0;
padding-bottom: 0;
}
.ui.fitted.segment:not(.vertically) {
padding-left: 0;
padding-right: 0;
}

/*-------------------
Size
--------------------*/
Expand Down

0 comments on commit f03c4ec

Please sign in to comment.