mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-21 08:16:36 +00:00
Fix width of device in create entry step (#25392)
This commit is contained in:
parent
9751cb4e50
commit
f675dd3388
@ -316,6 +316,12 @@ class StepFlowCreateEntry extends LitElement {
|
||||
overflow-y: auto;
|
||||
flex-direction: column;
|
||||
}
|
||||
@media all and (max-width: 450px), all and (max-height: 500px) {
|
||||
.devices {
|
||||
/* header - margin content - footer */
|
||||
max-height: calc(100vh - 52px - 20px - 52px);
|
||||
}
|
||||
}
|
||||
.device {
|
||||
border: 1px solid var(--divider-color);
|
||||
padding: 6px;
|
||||
@ -352,11 +358,6 @@ class StepFlowCreateEntry extends LitElement {
|
||||
margin-inline-start: auto;
|
||||
margin-inline-end: initial;
|
||||
}
|
||||
@media all and (max-width: 450px), all and (max-height: 500px) {
|
||||
.device {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.error {
|
||||
color: var(--error-color);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user