mirror of
https://github.com/jzillmann/pdf-to-markdown.git
synced 2024-12-29 01:38:55 +01:00
Fit the panel background to its contents size (kind of)
This commit is contained in:
parent
efcd2b01c0
commit
1a6bddf460
@ -22,7 +22,10 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<div class="absolute mt-2 p-2 flex bg-gray-200 shadow-lg rounded-sm overflow-auto max-h-96" transition:slide>
|
||||
<div
|
||||
class="absolute mt-2 p-2 flex bg-gray-200 shadow-lg rounded-sm overflow-auto max-h-96"
|
||||
style="max-width: {pageControl.totalPages * 45}px;"
|
||||
transition:slide>
|
||||
<span class="mt-1 pr-2" on:click={$pagePinned && unpinPage}>
|
||||
<Collection size="1x" class={$pagePinned ? 'hover:text-select cursor-pointer' : 'opacity-50'} />
|
||||
</span>
|
||||
|
Loading…
Reference in New Issue
Block a user