Skip to content

Commit d8b38e1

Browse files
committed
style: improve edge case styling
1 parent 92173c1 commit d8b38e1

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

static/css/v3/library-highlight-carousel.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@
124124
.library-highlight-carousel__tags {
125125
display: flex;
126126
flex-wrap: wrap;
127-
justify-content: flex-end;
127+
justify-content: flex-start;
128128
gap: var(--space-xs);
129-
flex-shrink: 0;
129+
min-width: 0;
130130
}
131131

132132
.library-highlight-carousel__description {

templates/v3/includes/_library_highlight_carousel.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,15 @@
5050
aria-label="Show {{ slide.name }}"
5151
{% if forloop.first %}checked{% endif %}>
5252
{% endfor %}
53+
{% else %}
54+
<style>
55+
#{{ carousel_id }} .library-highlight-carousel__added--1 {
56+
display: inline;
57+
}
58+
#{{ carousel_id }} .library-highlight-carousel__button--1 {
59+
display: flex;
60+
}
61+
</style>
5362
{% endif %}
5463

5564
<div class="library-highlight-carousel__header">

0 commit comments

Comments
 (0)