description_list: Wrap description value if it’s too long (#779)
| Before | After | | - | - | | <img width="752" alt="SCR-20250408-nfvl" src="https://github.com/user-attachments/assets/5ed558af-869a-4634-bbb5-80fc1481a15c" /> | <img width="752" alt="SCR-20250408-ngcy" src="https://github.com/user-attachments/assets/a5871af5-978b-421d-b608-12fa940a884c" /> |
This commit is contained in:
parent
231e8ea2db
commit
206a1e049b
1 changed files with 1 additions and 0 deletions
|
|
@ -293,6 +293,7 @@ impl RenderOnce for DescriptionList {
|
|||
};
|
||||
|
||||
el.flex_1()
|
||||
.overflow_x_hidden()
|
||||
.child(
|
||||
div()
|
||||
.when(self.layout.is_horizontal(), |this| {
|
||||
|
|
|
|||
Loading…
Reference in a new issue