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
+4 -2

No files matched your search

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