Sort of fix CSS for JobAccessoryPopover
This still isn't exactly what we want, but it works on mobile so it's good enough
This commit is contained in:
parent
18901c954b
commit
387b02d9ff
1 changed files with 18 additions and 1 deletions
|
|
@ -1,10 +1,27 @@
|
||||||
.JobAccessory.Popover {
|
.JobAccessory.Popover {
|
||||||
padding: $unit-2x;
|
padding: $unit-2x;
|
||||||
width: 504px;
|
min-width: 40vw;
|
||||||
|
max-width: 40vw;
|
||||||
|
|
||||||
|
@include breakpoint(tablet) {
|
||||||
|
width: 100%;
|
||||||
|
max-width: initial;
|
||||||
|
}
|
||||||
|
|
||||||
|
@include breakpoint(phone) {
|
||||||
|
padding: $unit;
|
||||||
|
width: 100%;
|
||||||
|
max-width: initial;
|
||||||
|
}
|
||||||
|
|
||||||
.Accessories {
|
.Accessories {
|
||||||
display: grid;
|
display: grid;
|
||||||
gap: $unit;
|
gap: $unit;
|
||||||
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
|
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
|
||||||
|
|
||||||
|
@include breakpoint(tablet) {
|
||||||
|
grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
|
||||||
|
gap: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue