Browse Source

qr code: add margin on qr modal title

pull/4142/head
Daniel Spaude 2 years ago
parent
commit
fec2e344f3
No known key found for this signature in database
GPG Key ID: 654A3D1FA4F35FFE
  1. 5
      packages/nc-gui/components/virtual-cell/QrCode.vue

5
packages/nc-gui/components/virtual-cell/QrCode.vue

@ -24,7 +24,10 @@ const handleModalOkClick = () => (modalVisible.value = false)
</script>
<template>
<a-modal v-model:visible="modalVisible" :title="qrValue" footer @ok="handleModalOkClick" :bodyStyle="{ padding: '0px' }">
<a-modal v-model:visible="modalVisible" footer @ok="handleModalOkClick" :bodyStyle="{ padding: '0px' }">
<template #title>
<div class="mr-4">{{ qrValue }}</div>
</template>
<img v-if="qrValue" :src="qrCodeLarge" alt="QR Code" class="qr-code" />
</a-modal>
<img v-if="qrValue" :src="qrCode" alt="QR Code" class="qr-code" @click="showQrModal" />

Loading…
Cancel
Save