[frontend/components] Correctly size field value

This commit is contained in:
pancakes 2025-02-23 23:39:28 +10:00 committed by Laura Hausmann
parent 23833bb1b4
commit fbf69608f0
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -32,13 +32,14 @@
vertical-align: text-bottom; vertical-align: text-bottom;
} }
} }
.field-value {
word-wrap: break-word;
}
} }
} }
::deep .field .field-value {
width: calc(100% - 10.5rem);
word-wrap: break-word;
}
.fields { .fields {
margin: 1rem 0; margin: 1rem 0;
} }
@ -87,6 +88,10 @@
} }
} }
::deep .field .field-value {
width: auto;
}
::deep { ::deep {
.field + .field { .field + .field {
margin-top: 0.5rem; margin-top: 0.5rem;