diff --git a/src/app/pages/settings/settings.page.css b/src/app/pages/settings/settings.page.css index 8f8c67e..5592fbf 100644 --- a/src/app/pages/settings/settings.page.css +++ b/src/app/pages/settings/settings.page.css @@ -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; diff --git a/src/app/pages/settings/settings.page.html b/src/app/pages/settings/settings.page.html index 234c05b..dd354d3 100644 --- a/src/app/pages/settings/settings.page.html +++ b/src/app/pages/settings/settings.page.html @@ -499,12 +499,12 @@
- - - + + + - - + + @@ -590,7 +590,7 @@ }
-
+
@if (isReviewNeeded(doc) && doc.status === 'failed') {