mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Fix width of create section button (#20015)
This commit is contained in:
parent
52c8554d89
commit
3b885dd01f
@ -247,13 +247,16 @@ export class SectionsView extends LitElement implements LovelaceViewElement {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.section {
|
||||
.container > * {
|
||||
position: relative;
|
||||
border-radius: var(--ha-card-border-radius, 12px);
|
||||
max-width: var(--grid-section-max-width);
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.section {
|
||||
border-radius: var(--ha-card-border-radius, 12px);
|
||||
}
|
||||
|
||||
.container {
|
||||
--max-count: min(var(--section-count), var(--grid-max-section-count));
|
||||
--max-width: min(
|
||||
@ -318,9 +321,9 @@ export class SectionsView extends LitElement implements LovelaceViewElement {
|
||||
border-radius: var(--ha-card-border-radius, 12px);
|
||||
border: 2px dashed var(--primary-color);
|
||||
order: 1;
|
||||
height: 66px;
|
||||
height: calc(66px + (8px + 2px) * 2);
|
||||
padding: 8px;
|
||||
box-sizing: content-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.create:focus {
|
||||
|
Loading…
x
Reference in New Issue
Block a user