Skip to content

Commit b36ee3e

Browse files
matt2eclaude
andauthored
fix(desktop): let sidebar action card description wrap over multiple lines (#1891)
Signed-off-by: Matt Toohey <[email protected]> Co-authored-by: Claude Fable 5 <[email protected]>
1 parent 54638ff commit b36ee3e

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

‎desktop/src/shared/styles/globals/animations.css‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,8 +424,7 @@
424424
display: inline-block;
425425
line-height: var(--buzz-sidebar-action-description-line-height);
426426
max-width: 100%;
427-
overflow: hidden;
428-
white-space: nowrap;
427+
overflow-wrap: break-word;
429428
}
430429

431430
.buzz-sidebar-action-description__motion {
@@ -443,10 +442,16 @@
443442
will-change: transform;
444443
}
445444

445+
/* The roll-up reel animates between two fixed one-line slots, so text is
446+
clipped to a single line only while the transition plays; the settled
447+
state above wraps freely. */
446448
.buzz-sidebar-action-description__reel > span {
447449
display: block;
448450
height: var(--buzz-sidebar-action-description-line-height);
449451
line-height: var(--buzz-sidebar-action-description-line-height);
452+
overflow: hidden;
453+
text-overflow: ellipsis;
454+
white-space: nowrap;
450455
}
451456

452457
@keyframes buzz-sidebar-action-description-roll-up {

0 commit comments

Comments
 (0)