Fix button placement in mobile size

This commit is contained in:
Justin Edmund 2023-01-28 19:52:09 -08:00
parent 949d9a5cc1
commit a4a5ccf33f
2 changed files with 18 additions and 2 deletions

View file

@ -42,6 +42,10 @@
.Text { .Text {
font-size: $font-small; font-size: $font-small;
font-weight: $bold; font-weight: $bold;
@include breakpoint(phone) {
display: none;
}
} }
} }

View file

@ -258,7 +258,6 @@
} }
.PartyInfo { .PartyInfo {
align-items: center;
box-sizing: border-box; box-sizing: border-box;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
@ -269,10 +268,12 @@
width: 100%; width: 100%;
@include breakpoint(phone) { @include breakpoint(phone) {
flex-direction: column;
gap: $unit-2x;
padding: 0 $unit; padding: 0 $unit;
} }
.Left { & > .Left {
flex-grow: 1; flex-grow: 1;
.Header { .Header {
@ -316,6 +317,17 @@
} }
} }
@include breakpoint(phone) {
.Right .Button {
justify-content: center;
width: 100%;
.Text {
width: auto;
}
}
}
.user { .user {
align-items: center; align-items: center;
display: inline-flex; display: inline-flex;