waveterm/frontend/app/block
Evan Simkowitz 64a7a6e533
Truncate file paths from the left in the preview header (#322)
This adjusts the block header styling to remove a bunch of unnecessary
attributes and to ensure that we have more consistent shrinking
behavior. Now, file paths will truncate starting on the left side, to
preserve the file name as long as possible. Also, the widget name can
shrink down to zero, while preserving the widget icon, since it's
unnecessary to have both when the widget is small.

<img width="415" alt="image"
src="https://github.com/user-attachments/assets/46e0a74a-f35d-4d09-9c67-019936e67e41">
2024-09-04 15:25:25 -07:00
..
block.less Truncate file paths from the left in the preview header (#322) 2024-09-04 15:25:25 -07:00
block.tsx fix issues with layouteffects in block 2024-09-03 10:24:00 -07:00
blockframe.tsx Truncate file paths from the left in the preview header (#322) 2024-09-04 15:25:25 -07:00
blocktypes.ts suggestions UI (#286) 2024-08-28 23:47:45 -07:00
blockutil.tsx Fix infinite loop in layoutAtom, improve iconbutton disable code (#306) 2024-09-03 11:24:45 -07:00