UBERF-6411 Fix documents max width (#5458)

Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
Alexander Onnikov 2024-04-24 22:38:30 +07:00 committed by GitHub
parent d434c54509
commit 70e6420aa7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -66,8 +66,6 @@
$: readonly = $restrictionStore.readonly
let useMaxWidth = true
export function canClose (): boolean {
return false
}
@ -241,7 +239,6 @@
{kind}
bind:content
bind:innerWidth
bind:useMaxWidth
floatAside={false}
on:open
on:close={() => dispatch('close')}
@ -272,7 +269,7 @@
{/if}
</svelte:fragment>
<div class="container" class:container-max-width={useMaxWidth}>
<div class="container">
<div class="title flex-row-center">
<div class="icon">
<Button
@ -391,10 +388,6 @@
margin: auto;
}
.container-max-width {
max-width: 700px;
}
.toc-container {
position: absolute;
pointer-events: none;