Fix width of device in create entry step (#25392)

This commit is contained in:
Bram Kragten 2025-05-09 12:00:06 +02:00
parent 9751cb4e50
commit f675dd3388

View File

@ -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);
}