Skip to content

Commit

Permalink
Fix long title overflow on narrow screens
Browse files Browse the repository at this point in the history
  • Loading branch information
djjuhasz committed Dec 11, 2024
1 parent 9bc6deb commit 237f99a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 4 additions & 2 deletions dashboard/src/components/PreservationActionCollapse.vue
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,11 @@ function isComplete(task: EnduroPackagePreservationTask) {
{{ action.tasks.length - index }}
</span>
</div>
<div class="d-flex flex-column flex-grow-1 align-content-stretch">
<div
class="d-flex flex-column flex-grow-1 align-content-stretch min-w-0"
>
<div class="d-flex flex-wrap pt-1">
<div class="me-auto flex-truncate fw-bold">
<div class="me-auto text-truncate fw-bold">
{{ task.name }}
</div>
<div class="me-3">
Expand Down
3 changes: 1 addition & 2 deletions dashboard/src/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ a:not(.btn),
white-space: break-spaces;
}

.flex-truncate {
@extend .text-truncate;
.min-w-0 {
min-width: 0;
}

0 comments on commit 237f99a

Please sign in to comment.