Align width of figure and figcaption
This commit is contained in:
parent
10702eb842
commit
d80b4beaaf
|
@ -11,7 +11,7 @@
|
||||||
<div>Authentication error</div>
|
<div>Authentication error</div>
|
||||||
<small>{{ error }}</small>
|
<small>{{ error }}</small>
|
||||||
</div>
|
</div>
|
||||||
<figure class="flex flex-col m-auto w-[33%]">
|
<figure class="flex flex-col m-auto">
|
||||||
<a class="m-auto" v-if="lnurl" :href="'lightning:' + lnurl">
|
<a class="m-auto" v-if="lnurl" :href="'lightning:' + lnurl">
|
||||||
<img v-if="qr" :src="'data:image/png;base64,' + qr" />
|
<img v-if="qr" :src="'data:image/png;base64,' + qr" />
|
||||||
</a>
|
</a>
|
||||||
|
@ -84,6 +84,14 @@ await (async () => {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
img {
|
||||||
|
width: 256px;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
figcaption {
|
||||||
|
margin: 0.75em auto;
|
||||||
|
width: 256px;
|
||||||
|
}
|
||||||
.label {
|
.label {
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
margin: 1em auto;
|
margin: 1em auto;
|
||||||
|
|
Loading…
Reference in New Issue