Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions apps/web/src/pages/workspace-layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,30 @@
display: none;
}

/* Not yet is sm:ms-auto, and every action is shrink-0 nowrap. A long middle
label fills the row, Not yet wraps, and the auto margin pins it to the
right edge. Keep the actions on one line; the long label wraps inside
its own button. */
.document-decision [data-slot="tool-approval-card"] > div:last-child {
flex-wrap: nowrap;
}

.document-decision [data-slot="tool-approval-card"] > div:last-child > button {
flex-shrink: 1;
min-width: 0;
height: auto;
min-height: 2rem;
white-space: normal;
}

.document-decision
[data-slot="tool-approval-card"]
> div:last-child
> button:last-child {
flex-shrink: 0;
margin-inline-start: 0;
}

/* The library keeps a settled line's words from shrinking, so a long document title ran past the
column; it ellipsizes here, and the full line is the card's tooltip. */
.document-decision > p > span {
Expand Down