Skip to content

Instantly share code, notes, and snippets.

@dgrahn
Last active May 23, 2017 01:15
Show Gist options
  • Save dgrahn/301d899cc434e4d915c9fcb5dc79e054 to your computer and use it in GitHub Desktop.
Save dgrahn/301d899cc434e4d915c9fcb5dc79e054 to your computer and use it in GitHub Desktop.
Add '.unstackable' option to steps. (Also includes '.padless' option in case you need to shrink the steps on a mobile device)
.ui.unstackable.steps {
flex-direction: row;
}
.ui.unstackable.steps .step {
width: auto !important;
}
@media only screen and (max-width: (@largestMobileScreen)) {
.ui.unstackable.padless.steps .step {
padding: @verticalPadding 0 !important;
}
}
@terrabruder
Copy link

Thanks for this. Really is crazy that it hasn't been merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment