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:
parent
2b6be9e1ae
commit
e2bb1f6347
@ -47,7 +47,7 @@
|
||||
</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()}
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user