Skip to content

Commit

Permalink
chore: styling
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Dec 16, 2024
1 parent 81f94df commit 2a5438d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions packages/client/internals/FormItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,12 @@ function reset() {
<div v-if="!description" op75 @dblclick="reset">
{{ title }}
</div>
<Tooltip v-else placement="left" distance="10">
<Tooltip v-else distance="10">
<div op75 text-right @dblclick="reset">
{{ title }}
</div>
<template #popper>
<div text-sm>
{{ description }}
</div>
<div text-sm min-w-90 v-html="description" />
</template>
</Tooltip>
</div>
Expand Down
4 changes: 2 additions & 2 deletions packages/client/pages/export.vue
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ if (import.meta.hot) {
<div class="i-carbon:camera-action inline-block text-xl" />
Pre-capture Slides as Images
</button>
<FormItem title="Delay" description="Delay between capturing each slide in milliseconds.\nIncrease this value if slides are captured incompletely. \n(Not related to PDF export)">
<FormItem title="Delay" description="Delay between capturing each slide in milliseconds.<br>Increase this value if slides are captured incompletely. <br>(Not related to PDF export)">
<input v-model="delay" type="number" step="50" min="50">
</FormItem>
</div>
Expand All @@ -281,7 +281,7 @@ if (import.meta.hot) {
</div>
</div>
<div id="export-container" ref="export-container" relative>
<div print:hidden fixed right-5 bottom-5 bg-main px2 py0 rounded shadow z-1000>
<div print:hidden fixed right-5 bottom-5 bg-main px2 py0 shadow z-1000 border="~ main rounded">
<span op75>Rendering as {{ capturedImages ? 'Captured Images' : 'DOM' }} </span>
</div>
<div v-show="!capturedImages" id="export-content" ref="export-content">
Expand Down

0 comments on commit 2a5438d

Please sign in to comment.