Skip to content

Commit

Permalink
Relocate and better specify rule for step when only child
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Elliott committed Aug 18, 2015
1 parent 1f74594 commit 8732d53
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions src/definitions/elements/step.less
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,6 @@
border-radius: @stepsBorderRadius 0em 0em @stepsBorderRadius;
}

/* Only Step */
.ui.steps .step:only-child {
border-radius: @stepsBorderRadius;
}

/* Last Step */
.ui.steps .step:last-child {
border-radius: 0em @stepsBorderRadius @stepsBorderRadius 0em;
Expand Down Expand Up @@ -250,6 +245,18 @@
}


/*---------------
Unbiased
----------------*/

/* Only Step */
.ui.steps, .ui.vertical.steps {
.step:only-child {
border-radius: @stepsBorderRadius;
}
}


/*---------------
Responsive
----------------*/
Expand Down

0 comments on commit 8732d53

Please sign in to comment.