Fixes for edit mode on Parties
This commit is contained in:
parent
654a40117c
commit
95ee4bd1c7
1 changed files with 30 additions and 12 deletions
|
|
@ -4,7 +4,19 @@
|
||||||
margin: $unit-4x auto 0 auto;
|
margin: $unit-4x auto 0 auto;
|
||||||
max-width: $grid-width;
|
max-width: $grid-width;
|
||||||
|
|
||||||
|
@include breakpoint(phone) {
|
||||||
|
.Button:not(.IconButton) {
|
||||||
|
justify-content: center;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
.Text {
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.PartyDetails {
|
.PartyDetails {
|
||||||
|
box-sizing: border-box;
|
||||||
display: none;
|
display: none;
|
||||||
margin: 0 auto $unit-2x;
|
margin: 0 auto $unit-2x;
|
||||||
max-width: $unit * 94;
|
max-width: $unit * 94;
|
||||||
|
|
@ -24,6 +36,7 @@
|
||||||
|
|
||||||
&.Visible {
|
&.Visible {
|
||||||
display: grid;
|
display: grid;
|
||||||
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||||||
}
|
}
|
||||||
|
|
||||||
fieldset {
|
fieldset {
|
||||||
|
|
@ -37,6 +50,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.SelectTrigger {
|
.SelectTrigger {
|
||||||
|
padding: $unit-2x;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -45,12 +59,16 @@
|
||||||
grid-template-columns: 1fr 1fr 1fr;
|
grid-template-columns: 1fr 1fr 1fr;
|
||||||
gap: $unit;
|
gap: $unit;
|
||||||
|
|
||||||
|
@include breakpoint(phone) {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
|
||||||
.ToggleSection,
|
.ToggleSection,
|
||||||
.InputSection {
|
.InputSection {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
background: var(--card-bg);
|
background: var(--card-bg);
|
||||||
border-radius: $card-corner;
|
border-radius: $input-corner;
|
||||||
|
|
||||||
& > label {
|
& > label {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
@ -133,6 +151,11 @@
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
gap: $unit;
|
gap: $unit;
|
||||||
|
|
||||||
|
@include breakpoint(phone) {
|
||||||
|
flex-direction: column;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.left {
|
.left {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
}
|
}
|
||||||
|
|
@ -141,6 +164,12 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
gap: $unit;
|
gap: $unit;
|
||||||
|
|
||||||
|
@include breakpoint(phone) {
|
||||||
|
.Button {
|
||||||
|
flex-grow: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -318,17 +347,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@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;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue