Skip to content

Commit 2616085

Browse files
committed
style: adjust CSS for Features component and enhance carousel navigation visibility
1 parent 195569a commit 2616085

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

docs/vue-components/Features.vue

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ const features = [
8686

8787

8888

89-
<style scoped>
89+
<style>
9090
.features {
9191
margin: 0 auto;
9292
max-width: 1152px;
@@ -137,4 +137,18 @@ const features = [
137137
color: var(--vp-c-text-2);
138138
margin: 0;
139139
}
140+
.carousel__prev {
141+
left: -60px;
142+
}
143+
.carousel__next {
144+
right: -60px;
145+
}
146+
.dark {
147+
.carousel__next,
148+
.carousel__prev {
149+
--vc-nav-color: #fff;
150+
--vc-nav-width: 50px;
151+
--vc-nav-height: 50px;
152+
}
153+
}
140154
</style>

0 commit comments

Comments
 (0)