mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-02-17 02:51:39 -05:00
Tweak summary layout
This commit is contained in:
@@ -56,22 +56,41 @@
|
|||||||
@media (min-width: 1024px) {
|
@media (min-width: 1024px) {
|
||||||
.container {
|
.container {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(2, max-content);
|
grid-template-columns: 425px max-content;
|
||||||
grid-template-rows: repeat(2, max-content);
|
grid-template-rows: repeat(2, max-content);
|
||||||
gap: 15px 15px;
|
gap: 15px 15px;
|
||||||
grid-auto-flow: row;
|
grid-auto-flow: row;
|
||||||
grid-template-areas: 'weather-summary .' 'main-summary basement-summary';
|
grid-template-areas:
|
||||||
|
'weather-summary main-summary'
|
||||||
|
'weather-summary basement-summary';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 1024px) {
|
@media (max-width: 1024px) {
|
||||||
.container {
|
.container {
|
||||||
padding: 7px;
|
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(1, max-content);
|
grid-template-columns: 425px;
|
||||||
grid-template-rows: repeat(3, max-content);
|
grid-template-rows: repeat(3, max-content);
|
||||||
gap: 10px 0px;
|
gap: 15px 0px;
|
||||||
grid-template-areas: 'weather-summary' 'main-summary' 'basement-summary';
|
grid-auto-flow: row;
|
||||||
|
grid-template-areas:
|
||||||
|
'weather-summary'
|
||||||
|
'main-summary'
|
||||||
|
'basement-summary';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
.container {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
grid-template-rows: repeat(3, max-content);
|
||||||
|
gap: 15px 0px;
|
||||||
|
grid-auto-flow: row;
|
||||||
|
grid-template-areas:
|
||||||
|
'weather-summary'
|
||||||
|
'main-summary'
|
||||||
|
'basement-summary';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user