From 8732d53b583c06a7b0b7de88cc509611c6e90f60 Mon Sep 17 00:00:00 2001 From: Matt Elliott Date: Mon, 17 Aug 2015 23:10:13 -0400 Subject: [PATCH] Relocate and better specify rule for step when only child --- src/definitions/elements/step.less | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/src/definitions/elements/step.less b/src/definitions/elements/step.less index 3235d9b04a..7e8386a3cb 100755 --- a/src/definitions/elements/step.less +++ b/src/definitions/elements/step.less @@ -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; @@ -250,6 +245,18 @@ } +/*--------------- + Unbiased +----------------*/ + +/* Only Step */ +.ui.steps, .ui.vertical.steps { + .step:only-child { + border-radius: @stepsBorderRadius; + } +} + + /*--------------- Responsive ----------------*/