Remove preview when on mobile sizes

This commit is contained in:
Justin Edmund 2023-06-16 17:37:40 -07:00
parent 715fa021de
commit ffc46f3b41
3 changed files with 18 additions and 0 deletions

View file

@ -1,6 +1,10 @@
.SegmentedControlWrapper {
display: flex;
justify-content: center;
@include breakpoint(phone) {
width: 100%;
}
}
.SegmentedControl {
@ -14,6 +18,7 @@
@include breakpoint(phone) {
background: var(--card-bg);
border-radius: 100px;
}
&.fire {

View file

@ -22,6 +22,10 @@
width: 100%;
}
@include breakpoint(phone) {
padding: 0;
}
.SegmentedControl {
gap: $unit;
flex-grow: 1;

View file

@ -45,6 +45,11 @@
background: #fff;
}
@include breakpoint(phone) {
border-radius: 100px;
padding-bottom: $unit;
}
.Wrapper {
display: flex;
flex-direction: column;
@ -60,5 +65,9 @@
@include breakpoint(phone) {
min-width: initial;
width: 100%;
.Rep {
display: none;
}
}
}