mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
Dashboard UI: macOS operating system and munki card stack at lower widths (#7033)
This commit is contained in:
parent
7a035c42c6
commit
a84c7d6754
6 changed files with 7 additions and 17 deletions
1
changes/issue-7032-macos-cards-stack
Normal file
1
changes/issue-7032-macos-cards-stack
Normal file
|
|
@ -0,0 +1 @@
|
|||
* macOS dashboard cards stack at smaller screenwidths
|
||||
|
|
@ -65,14 +65,15 @@
|
|||
display: grid;
|
||||
row-gap: $pad-medium;
|
||||
|
||||
// if we have an odd number of elements, take
|
||||
// the last one and stretch it across the grid
|
||||
.homepage-info-card:nth-child(odd):last-child {
|
||||
grid-column-start: span 2;
|
||||
}
|
||||
@media screen and (min-width: 990px) {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
column-gap: $pad-medium;
|
||||
|
||||
// if we have an odd number of elements, take
|
||||
// the last one and stretch it across the grid
|
||||
.homepage-info-card:nth-child(odd):last-child {
|
||||
grid-column-start: span 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2,9 +2,6 @@
|
|||
margin-top: $pad-large;
|
||||
position: relative;
|
||||
|
||||
.table-container {
|
||||
min-height: 435px;
|
||||
}
|
||||
.data-table__wrapper {
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,9 +2,6 @@
|
|||
margin-top: $pad-large;
|
||||
position: relative;
|
||||
|
||||
.table-container {
|
||||
min-height: 435px;
|
||||
}
|
||||
.data-table__wrapper {
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,9 +2,6 @@
|
|||
margin-top: $pad-large;
|
||||
position: relative;
|
||||
|
||||
.table-container {
|
||||
min-height: 435px;
|
||||
}
|
||||
.data-table__wrapper {
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,9 +10,6 @@
|
|||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
.table-container {
|
||||
min-height: 435px;
|
||||
}
|
||||
.data-table__wrapper {
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue