mirror of
https://github.com/block/buzz.git
synced 2026-10-31 06:21:34 +00:00
fix(desktop): let sidebar action card description wrap over multiple lines (#1891)
Signed-off-by: Matt Toohey <contact@matttoohey.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -424,8 +424,7 @@
|
||||
display: inline-block;
|
||||
line-height: var(--buzz-sidebar-action-description-line-height);
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
.buzz-sidebar-action-description__motion {
|
||||
@@ -443,10 +442,16 @@
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
/* The roll-up reel animates between two fixed one-line slots, so text is
|
||||
clipped to a single line only while the transition plays; the settled
|
||||
state above wraps freely. */
|
||||
.buzz-sidebar-action-description__reel > span {
|
||||
display: block;
|
||||
height: var(--buzz-sidebar-action-description-line-height);
|
||||
line-height: var(--buzz-sidebar-action-description-line-height);
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@keyframes buzz-sidebar-action-description-roll-up {
|
||||
|
||||
Reference in New Issue
Block a user