Mobile-adapted index :)
All checks were successful
pipeline / build-and-push-images (push) Successful in 22s
pipeline / deploy (push) Successful in 7s

This commit is contained in:
2024-12-01 00:17:20 +01:00
parent 0065d416e9
commit 08e93b331e
5 changed files with 147 additions and 23 deletions

View File

@@ -38,7 +38,7 @@ function handleHover(laneImg: Ref<string>, index: number) {
</script>
<template>
<div style="width: fit-content; margin: auto;">
<div style="width: fit-content;">
<img v-for="(laneImg, index) in laneImgs"
class="lane-img" :src="laneImg.value"
@mouseout="handleMouseOut(laneImg, index)"
@@ -56,4 +56,10 @@ function handleHover(laneImg: Ref<string>, index: number) {
.lane-img:hover {
cursor: pointer;
}
@media only screen and (max-width: 400px) {
.lane-img {
width: 48px;
}
}
</style>