mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-23 11:31:57 +03:00
UBERF-6411 Fix documents max width (#5458)
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
parent
d434c54509
commit
70e6420aa7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user