Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #3439 - Now steps can be .unstackable #3714

Merged
merged 1 commit into from
Jul 11, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions src/definitions/elements/step.less
Original file line number Diff line number Diff line change
Expand Up @@ -261,38 +261,38 @@
/* Mobile (Default) */
@media only screen and (max-width: (@largestMobileScreen)) {

.ui.steps {
.ui:not(.unstackable).steps {
display: inline-flex;
overflow: visible;
flex-direction: column;
}
.ui.steps .step {
.ui:not(.unstackable).steps .step {
width: 100% !important;
flex-direction: column;
border-radius: @borderRadius;
padding: @verticalPadding @horizontalPadding;
}
.ui.steps .step:first-child {
.ui:not(.unstackable).steps .step:first-child {
padding: @verticalPadding @horizontalPadding;
border-radius: @stepsBorderRadius @stepsBorderRadius 0em 0em;
}
.ui.steps .step:last-child {
.ui:not(.unstackable).steps .step:last-child {
border-radius: 0em 0em @stepsBorderRadius @stepsBorderRadius;
}

/* Arrow */
.ui.steps .step:after {
.ui:not(.unstackable).steps .step:after {
display: none !important;
}

/* Content */
.ui.steps .step .content {
.ui:not(.unstackable).steps .step .content {
text-align: center;
}

/* Icon */
.ui.steps .step > .icon,
.ui.ordered.steps .step:before {
.ui:not(.unstackable).steps .step > .icon,
.ui:not(.unstackable).ordered.steps .step:before {
margin: 0em 0em @mobileIconDistance 0em;
}

Expand Down