mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-18 14:56:37 +00:00
Mobile styles for backup summary (#23276)
* Add mobile backup summary styles * revert padding
This commit is contained in:
parent
27dbabc6bf
commit
7d3c77008d
@ -68,7 +68,8 @@ class HaBackupSummaryCard extends LitElement {
|
|||||||
.summary {
|
.summary {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
gap: 16px;
|
column-gap: 16px;
|
||||||
|
row-gap: 8px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -139,6 +140,18 @@ class HaBackupSummaryCard extends LitElement {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media all and (max-width: 550px) {
|
||||||
|
.summary {
|
||||||
|
flex-wrap: wrap;
|
||||||
|
padding: 8px;
|
||||||
|
}
|
||||||
|
.action {
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
justify-content: flex-end;
|
||||||
|
}
|
||||||
|
}
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user