Skip to content

Commit

Permalink
fix(preview): icon full size
Browse files Browse the repository at this point in the history
  • Loading branch information
Novout committed Oct 10, 2021
1 parent 423955a commit d6dbc9c
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions src/components/editor/pdf/PDFPreview.vue
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
<template>
<HeroIcon class="wb-text" @click.prevent="onClick">
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-6 w-6"
viewBox="0 0 20 20"
fill="currentColor"
>
<path
fill-rule="evenodd"
d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z"
clip-rule="evenodd"
/>
</svg>
</HeroIcon>
<div ref="preview" class="h-1/2"></div>
<section class="flex flex-col w-full">
<HeroIcon class="wb-icon w-7" @click.prevent="onClick">
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-6 w-6"
viewBox="0 0 20 20"
fill="currentColor"
>
<path
fill-rule="evenodd"
d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z"
clip-rule="evenodd"
/>
</svg>
</HeroIcon>
<div ref="preview" class="h-3/4"></div>
</section>
</template>

<script setup lang="ts">
Expand Down

0 comments on commit d6dbc9c

Please sign in to comment.