Files
oak-gpui/crates/gpui/src
Jason Lee 0835d456dc gpui: Fix text ellipsis appearing even the flex element has space (#17149)
Release Notes:

- N/A

There was a calculation bug before. When we added `text_ellipsis` to the
flex element, it would always show ellipsis no matter how long it was.

Actually we can't use `flex` and `text_ellipsis` at same time, the CSS
also not support this. But this bug will let user confuse.

### Before

<img width="731" alt="image"
src="https://github.com/user-attachments/assets/b7d60017-6785-45f5-8b40-dd5efa154a1e">

### After

<img width="521" alt="image"
src="https://github.com/user-attachments/assets/a3117793-284e-48d4-8c15-059fe61abe60">
2024-08-30 09:01:46 -04:00
..
2024-07-22 10:46:16 -06:00
2024-06-18 12:16:54 -07:00
2024-03-11 10:45:57 +01:00
2024-07-03 11:28:09 -07:00
2024-08-06 16:55:51 -04:00
2024-07-22 10:46:16 -06:00
2024-07-22 10:46:16 -06:00
2024-01-21 14:26:45 -08:00
2024-05-29 18:06:45 -07:00