Skip to content

Commit

Permalink
Fix small screen views
Browse files Browse the repository at this point in the history
  • Loading branch information
minkyngkm committed Oct 1, 2024
1 parent 40bfbaf commit 99be82e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
17 changes: 12 additions & 5 deletions static/sass/_pattern_distributor.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
@mixin ubuntu-p-distributor {
.distributor-shop-selector {
counter-reset: headings;
.p-stepped-list__title {
margin-bottom: 2rem;

&::before {
align-items: center;
border: 1px solid #000;
border-radius: 50%;
content: counter(p-stepped-list-counter);
text-align: center;
font-size: 1rem;
}
}
}

@media screen and (min-width: $breakpoint-large) {
Expand All @@ -11,14 +23,9 @@
width: $breakpoint-x-small + 100px;

&::before {
align-items: center;
border: 1px solid #000;
border-radius: 50%;
content: counter(p-stepped-list-counter);
font-size: 1.5rem;
height: 2.5rem;
line-height: 2.5rem;
text-align: center;
width: 2.5rem;
}
}
Expand Down
13 changes: 8 additions & 5 deletions static/sass/_pattern_subscribe.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
@mixin ubuntu-p-ua-subscribe {
.product-selector {
counter-reset: headings;
.p-stepped-list__title {
margin-bottom: 2rem;

&::before {
content: counter(p-stepped-list-counter);
width: 2rem;
}
}
}

@media screen and (min-width: $breakpoint-large) {
Expand All @@ -9,11 +17,6 @@

.p-stepped-list__title {
padding-left: 3.7rem;

&::before {
content: counter(p-stepped-list-counter);
width: 2rem;
}
}

> .p-stepped-list > .p-stepped-list__item {
Expand Down

0 comments on commit 99be82e

Please sign in to comment.