Skip to content

Commit

Permalink
Hiding titles on small screens
Browse files Browse the repository at this point in the history
  • Loading branch information
cchaos committed Feb 8, 2018
1 parent 0b6af09 commit a373773
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion src/components/steps/_steps_horizontal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,28 @@
}
}

// RESPONSIVE
@include screenXSmall {
.euiStepHorizontal {
// reduce top padding and shift lines
padding-top: $euiSize;

&:before,
&:after {
top: $euiSize + $euiStepNumberSize/2;
}
}

// hide titles
.euiStepHorizontal__title {
display: none;
}
}

@keyframes focusRingAnimate {
0% {
box-shadow: 0 0 0 10px rgba($euiColorPrimary, 0);
},
}
100% {
box-shadow: 0 0 0 2px rgba($euiColorPrimary, .2);
}
Expand Down

0 comments on commit a373773

Please sign in to comment.