Skip to content

Commit

Permalink
fix: center the download button on div
Browse files Browse the repository at this point in the history
  • Loading branch information
rizypb committed Jan 14, 2024
1 parent 1ac5da3 commit 18e482e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ypbconnectplatform/qrcode-vue3",
"private": false,
"version": "1.8.4",
"version": "1.8.5",
"description": "Add a style and an image to your QR code Vue3",
"main": "./dist/index.cjs.js",
"types": "src/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/QRCodeVue3Async.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ defineExpose({ onDownloadClick });
<div v-if="imageUrl" :class="myclass">
<img :src="imageUrl" :class="imgclass" crossorigin="anonymous" alt="QR Code" />
</div>
<div v-if="imageUrl && download">
<div v-if="imageUrl && download" class="text-center">
<button
type="button"
class="v-btn v-theme--light bg-primary v-btn--density-default v-btn--size-default v-btn--variant-flat rounded text-capitalize"
Expand Down

0 comments on commit 18e482e

Please sign in to comment.