fix: Decrease main container size by 1px

Subtracting an extra pixel, because `bind:clientWidth` dosen't take the
1px `border-r` on the sidebar into account
This commit is contained in:
April Hall 2025-02-07 17:02:44 -05:00
parent 2b6be9e1ae
commit e2bb1f6347
Signed by: arithefirst
GPG Key ID: 4508A15C4DB91C5B

View File

@ -47,7 +47,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="max-h-screen p-2" style={`max-width: calc(100vw - ${sidebarWidth}px)`}> <div class="max-h-screen p-2" style={`max-width: calc(100vw - 1px - ${sidebarWidth}px)`}>
{@render children()} {@render children()}
</div> </div>
</div> </div>