mirror of
https://github.com/docmost/docmost
synced 2025-03-28 21:13:28 +00:00
fix drag handle visibility (#868)
This commit is contained in:
parent
fea6518352
commit
1f40e9b960
@ -47,7 +47,7 @@
|
||||
"react-router-dom": "^7.0.1",
|
||||
"socket.io-client": "^4.8.1",
|
||||
"tippy.js": "^6.3.7",
|
||||
"tiptap-extension-global-drag-handle": "^0.1.16",
|
||||
"tiptap-extension-global-drag-handle": "^0.1.18",
|
||||
"zod": "^3.23.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -32,7 +32,7 @@ export function FullEditor({
|
||||
return (
|
||||
<Container
|
||||
fluid={fullPageWidth}
|
||||
size={!fullPageWidth && 850}
|
||||
size={!fullPageWidth && 900}
|
||||
className={classes.editor}
|
||||
>
|
||||
<MemoizedTitleEditor
|
||||
|
@ -12,6 +12,18 @@
|
||||
font-weight: 400;
|
||||
width: 100%;
|
||||
|
||||
padding-left: 3rem;
|
||||
padding-right: 3rem;
|
||||
|
||||
@media (max-width: $mantine-breakpoint-sm) {
|
||||
padding-left: 1rem;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
|
||||
@media print {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
> * + * {
|
||||
margin-top: 0.75em;
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
.editor {
|
||||
height: 100%;
|
||||
padding: 8px 20px;
|
||||
margin: 64px auto;
|
||||
padding: 8px 0;
|
||||
margin: 48px auto;
|
||||
|
||||
@media print {
|
||||
padding: 0;
|
||||
|
10
pnpm-lock.yaml
generated
10
pnpm-lock.yaml
generated
@ -312,8 +312,8 @@ importers:
|
||||
specifier: ^6.3.7
|
||||
version: 6.3.7
|
||||
tiptap-extension-global-drag-handle:
|
||||
specifier: ^0.1.16
|
||||
version: 0.1.16
|
||||
specifier: ^0.1.18
|
||||
version: 0.1.18
|
||||
zod:
|
||||
specifier: ^3.23.8
|
||||
version: 3.23.8
|
||||
@ -8343,8 +8343,8 @@ packages:
|
||||
tippy.js@6.3.7:
|
||||
resolution: {integrity: sha512-E1d3oP2emgJ9dRQZdf3Kkn0qJgI6ZLpyS5z6ZkY1DF3kaQaBsGZsndEpHwx+eC+tYM41HaSNvNtLx8tU57FzTQ==}
|
||||
|
||||
tiptap-extension-global-drag-handle@0.1.16:
|
||||
resolution: {integrity: sha512-Toke8gAgvgmSTmpU5Zome29ywdcIPxVZVkzI3GpUbaX8DF7o2ukyb+g/x5PAwBWQt/E4nhX91QlClo96psSYHQ==}
|
||||
tiptap-extension-global-drag-handle@0.1.18:
|
||||
resolution: {integrity: sha512-jwFuy1K8DP3a4bFy76Hpc63w1Sil0B7uZ3mvhQomVvUFCU787Lg2FowNhn7NFzeyok761qY2VG+PZ/FDthWUdg==}
|
||||
|
||||
tldts-core@6.1.72:
|
||||
resolution: {integrity: sha512-FW3H9aCaGTJ8l8RVCR3EX8GxsxDbQXuwetwwgXA2chYdsX+NY1ytCBl61narjjehWmCw92tc1AxlcY3668CU8g==}
|
||||
@ -18357,7 +18357,7 @@ snapshots:
|
||||
dependencies:
|
||||
'@popperjs/core': 2.11.8
|
||||
|
||||
tiptap-extension-global-drag-handle@0.1.16: {}
|
||||
tiptap-extension-global-drag-handle@0.1.18: {}
|
||||
|
||||
tldts-core@6.1.72: {}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user