correct <a> size
This commit is contained in:
1 parent
b074da21c8
commit
68c72d619b
3 files changed
+4
-2
No files matched your search
@@ -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')));
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in new issue
Block a user