Skip to content

Commit

Permalink
chore: fixes according to the review
Browse files Browse the repository at this point in the history
  • Loading branch information
raaymax committed Feb 16, 2024
1 parent 63bf10d commit 523cebe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/src/core_components/CorePDF.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="CorePDF">
<object class="pdf" :data="fields.source.value" type="application/pdf" width="100%" height="100%">
<object class="pdf" :data="fields.source.value" type="application/pdf">
<p>
You don't have a PDF plugin, but you can
<a :href="fields.source.value">download the PDF file. </a>
Expand All @@ -24,9 +24,9 @@ export default {
category: "Embed",
fields: {
source: {
name: "Pdf source",
name: "PDF source",
type: FieldType.Text,
desc: "Either URL or Base64",
desc: "A valid URL. Alternatively, you can provide a state reference to a packed PDF file.",
},
cssClasses,
},
Expand Down

0 comments on commit 523cebe

Please sign in to comment.