feat(settings): adjust document actions layout to prevent button wrapping

This commit is contained in:
PeymanHonarjoo
2026-10-12 17:30:23 +03:30
parent 9e8dd33927
commit b3eb4a6de5
3 changed files with 51 additions and 6 deletions
+19
View File
@@ -500,6 +500,25 @@
border-bottom: none;
}
/*
* Row actions: the buttons must not be squeezed by the fixed column.
* Flex items shrink by default, which used to wrap «تلاش‌مجدد» / «بازبینی سند»
* mid-word (the cell's `overflow-wrap: anywhere` leaked into the button), so
* each button keeps its intrinsic width and the cell wraps to a new line only
* when there is genuinely no room.
*/
.documents-actions {
align-items: flex-start;
flex-wrap: wrap;
}
.documents-actions > .btn {
flex: 0 0 auto;
white-space: nowrap;
overflow-wrap: normal;
word-break: normal;
}
/* Status badges */
.status-queued {
background: var(--color-warning)/15;