Skip to content

Commit 3f2cdc5

Browse files
committed
#3414 webpage: make space for screenshot carousel description
Signed-off-by: Patrizio Bekerle <[email protected]>
1 parent 494653c commit 3f2cdc5

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

webpage/src/.vuepress/components/ScreenshotCarousel.vue

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,11 @@ onMounted(() => {
175175
display: block;
176176
}
177177
178+
.v-carousel-item {
179+
position: relative;
180+
padding-bottom: 50px; /* Space for controls */
181+
}
182+
178183
.sheet {
179184
background: rgba(0, 0, 0, 0.7);
180185
color: white;
@@ -184,5 +189,18 @@ onMounted(() => {
184189
bottom: 0;
185190
left: 0;
186191
right: 0;
192+
margin: 0;
193+
z-index: 1;
194+
}
195+
196+
/* Ensure carousel controls don't overlap with text */
197+
:deep(.v-carousel__controls) {
198+
background: rgba(0, 0, 0, 0.3);
199+
padding: 0.5rem;
200+
position: absolute;
201+
bottom: 0;
202+
left: 0;
203+
right: 0;
204+
z-index: 2;
187205
}
188206
</style>

0 commit comments

Comments
 (0)