correct <a> size

This commit is contained in:
Theophyl Hoguet committed 2023-03-14 19:15:30 +01:00
1 parent b074da21c8
commit 68c72d619b
3 files changed
+7 -5

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ label {
}
</style>
<style>
.gallery>img {
.gallery img {
margin: 5px;
max-width: max(33vw, calc(90vw/v-bind('images.size')));
max-height: max(33vh, calc(90vh/v-bind('images.size')));
+1 -1
View File
@@ -74,7 +74,7 @@ label {
}
</style>
<style>
.home>img {
.home img {
max-width: 60%;
max-height: 60vh;
}
+5 -3
View File
@@ -36,9 +36,11 @@ export default defineComponent({
})
</script>
<template>
<a :href="'./images/' + id" target="_blank">
<img :id="'img-' + id" />
</a>
<div>
<a :href="'./images/' + id" target="_blank">
<img :id="'img-' + id" />
</a>
</div>
</template>
<style scoped>