Skip to content

Commit bf43c74

Browse files
authored
Merge pull request #22621 from mvdbeek/fix-export-card
Fix long title squashing in g-card
2 parents 2e70707 + 6cbd548 commit bf43c74

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

client/src/components/Common/GCard.vue

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,8 @@ function onKeyDown(event: KeyboardEvent) {
329329
<div class="d-flex flex-column flex-gapy-1">
330330
<div
331331
:id="`g-card-${props.id}-header`"
332-
class="d-flex flex-gapy-1 flex-gapx-1 justify-content-between">
333-
<div class="d-flex flex-column">
332+
class="d-flex flex-wrap flex-gapy-1 flex-gapx-1 justify-content-between">
333+
<div class="d-flex flex-column flex-grow-1 g-card-title-section">
334334
<div class="d-flex">
335335
<div v-if="selectable">
336336
<slot name="select">
@@ -422,7 +422,7 @@ function onKeyDown(event: KeyboardEvent) {
422422
</div>
423423
</div>
424424

425-
<div class="align-items-start d-flex flex-row-reverse flex-wrap gap-1">
425+
<div class="align-items-start d-flex flex-row-reverse flex-wrap gap-1 flex-shrink-0">
426426
<div>
427427
<slot v-if="props.showBookmark" name="bookmark">
428428
<BButton
@@ -747,6 +747,10 @@ function onKeyDown(event: KeyboardEvent) {
747747
}
748748
}
749749
750+
.g-card-title-section {
751+
min-width: 50%;
752+
}
753+
750754
.g-card-rename {
751755
visibility: hidden;
752756
}

client/src/components/Downloads/RecentDownloads.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,9 @@ const breadcrumbItems = [{ title: "Recent Exports & Downloads", to: "/downloads"
9191
</div>
9292
</div>
9393
</template>
94+
95+
<style lang="scss" scoped>
96+
.recent-downloads {
97+
container: cards-list / inline-size;
98+
}
99+
</style>

0 commit comments

Comments
 (0)