diff --git a/apps/web/src/pages/workspace-layout.css b/apps/web/src/pages/workspace-layout.css index 2b239e52..db741812 100644 --- a/apps/web/src/pages/workspace-layout.css +++ b/apps/web/src/pages/workspace-layout.css @@ -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 {