feat(settings): adjust document actions layout to prevent button wrapping
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user