Browse Source

Fix vertical flex align

pull/2416/head
jlukic 9 years ago
parent
commit
4695e6ba83
2 changed files with 3 additions and 4 deletions
  1. 2
      src/definitions/elements/step.less
  2. 5
      src/themes/default/elements/step.variables

2
src/definitions/elements/step.less

@ -202,10 +202,10 @@
overflow: visible; overflow: visible;
} }
.ui.vertical.steps .step { .ui.vertical.steps .step {
justify-content: flex-start;
border-radius: @borderRadius; border-radius: @borderRadius;
padding: @verticalPadding @horizontalPadding; padding: @verticalPadding @horizontalPadding;
border-bottom: @verticalDivider; border-bottom: @verticalDivider;
justify-content: @verticalJustifyContent;
} }
.ui.vertical.steps .step:first-child { .ui.vertical.steps .step:first-child {
padding: @verticalPadding @horizontalPadding; padding: @verticalPadding @horizontalPadding;

5
src/themes/default/elements/step.variables

@ -18,8 +18,8 @@
@verticalMargin: 0em; @verticalMargin: 0em;
@horizontalMargin: 0em; @horizontalMargin: 0em;
@arrowSize: @relativeHuge;
@verticalPadding: @relativeHuge;
@arrowSize: @relativeLarge;
@verticalPadding: @relativeLarge;
@horizontalPadding: 2em; @horizontalPadding: 2em;
@transition: @transition:
@ -72,7 +72,6 @@
Types Types
--------------------*/ --------------------*/
@verticalJustifyContent: 'flex-start';
@verticalDivider: @divider; @verticalDivider: @divider;
@verticalArrowTopOffset: 50%; @verticalArrowTopOffset: 50%;
@verticalArrowRightOffset: 0%; @verticalArrowRightOffset: 0%;

Loading…
Cancel
Save