Skip to content

Commit

Permalink
feat(ui): implement modifier class EBS-1316
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihkel.Paloots committed Apr 4, 2024
1 parent e530542 commit f4efe4f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions libs/styles/src/lib/scss/components/_steps.scss
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@
#{$base}.is-any-step-selected &:not(.is-current) {
@include cvi-screenreader-text;
}

&--is-url-step {
display: none;
}
}
@include cvi-breakpoint-up(sm) {
min-height: 72px;
Expand Down Expand Up @@ -339,11 +343,5 @@
@include cvi-screenreader-text;
}
}

#{$base}__display_desktop {
@include cvi-breakpoint-down(sm) {
display: none;
}
}
}
}
2 changes: 1 addition & 1 deletion libs/ui/src/lib/steps/steps/steps.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ <h1 *ngIf="title" class="cvi-steps__title" dataAttribute="steps_title">{{ title
</button>
</li>
<li *ngIf="urlStepTitle"
class="cvi-steps__list-item cvi-steps__display_desktop">
class="cvi-steps__list-item--is-url-step">
<button class="cvi-steps__list-item-button" style="background-color: white;" (click)="urlStepClicked()">
<cvi-ng-track [layout]="'flex'" [horizontalAlignment]="'justify'" [verticalAlignment]="'center'">
<div class="cvi-steps__list-item-circle-wrapper--desktop">
Expand Down

0 comments on commit f4efe4f

Please sign in to comment.