fix: carousel
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<link rel="icon" type="image/svg+xml" href="/dumbbell-heart.svg" />
|
<link rel="icon" type="image/svg+xml" href="/dumbbell-heart.svg" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>Welcome to Vuetify 4</title>
|
<title>Sports Empower Health</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
|||||||
@@ -53,7 +53,13 @@ const slides = [
|
|||||||
計畫簡介
|
計畫簡介
|
||||||
</v-card-title>
|
</v-card-title>
|
||||||
|
|
||||||
<v-carousel class="introduction-carousel" hide-delimiters show-arrows="hover">
|
<v-carousel
|
||||||
|
class="introduction-carousel"
|
||||||
|
color="accent"
|
||||||
|
delimiter-icon="mdi-square"
|
||||||
|
hide-delimiter-background
|
||||||
|
show-arrows="hover"
|
||||||
|
>
|
||||||
<v-carousel-item
|
<v-carousel-item
|
||||||
v-for="slide in slides"
|
v-for="slide in slides"
|
||||||
:key="slide.src"
|
:key="slide.src"
|
||||||
@@ -68,8 +74,7 @@ const slides = [
|
|||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.introduction-carousel {
|
.introduction-carousel {
|
||||||
background: #f5f7f8;
|
height: min(58vh, 560px) !important;
|
||||||
height: min(58vh, 440px);
|
|
||||||
min-height: 220px;
|
min-height: 220px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user