diff --git a/packages/client/src/styles/globals.scss b/packages/client/src/styles/globals.scss index bcd4efd..b6585b4 100644 --- a/packages/client/src/styles/globals.scss +++ b/packages/client/src/styles/globals.scss @@ -118,3 +118,7 @@ font-weight: inherit; } } + +.semi-navigation-horizontal .semi-navigation-header { + margin-right: 0; +} diff --git a/packages/client/src/tiptap/core/styles/base.scss b/packages/client/src/tiptap/core/styles/base.scss index a1629ab..8a51a3e 100644 --- a/packages/client/src/tiptap/core/styles/base.scss +++ b/packages/client/src/tiptap/core/styles/base.scss @@ -83,31 +83,25 @@ padding-left: 10px; border-left: 2px solid var(--semi-color-fill-2); margin: 0.75rem 0; + color: var(--semi-color-text-2); } hr { position: relative; - height: 2px; - background: var(--semi-color-border); + height: 24px; + background-color: transparent; border: 0; - &::before, &::after { position: absolute; + top: 11px; left: 0; display: block; width: 100%; - height: 12px; + height: 2px; + background: var(--semi-color-border); content: ''; } - - &::before { - top: 0; - } - - &::after { - bottom: 0; - } } } diff --git a/packages/client/src/tiptap/core/styles/heading.scss b/packages/client/src/tiptap/core/styles/heading.scss index 766d162..7fb88c6 100644 --- a/packages/client/src/tiptap/core/styles/heading.scss +++ b/packages/client/src/tiptap/core/styles/heading.scss @@ -1,32 +1,32 @@ .ProseMirror { h1 { margin: 26px 0 12px; - font-size: 1.87em; + font-size: 2.17em; } h2 { margin: 21px 0 12px; - font-size: 1.6em; + font-size: 1.9em; } h3 { margin: 16px 0 12px; - font-size: 1.3em; + font-size: 1.6em; } h4 { margin: 14px 0 12px; - font-size: 1.1em; + font-size: 1.4em; } h5 { margin: 5px 0 12px; - font-size: 1em; + font-size: 1.3em; } h6 { margin: 0 0 12px; - font-size: 1em; + font-size: 1.3em; } h1:first-child, diff --git a/packages/client/src/tiptap/core/styles/selection.scss b/packages/client/src/tiptap/core/styles/selection.scss index 8287958..c3d32bf 100644 --- a/packages/client/src/tiptap/core/styles/selection.scss +++ b/packages/client/src/tiptap/core/styles/selection.scss @@ -1,7 +1,9 @@ /* stylelint-disable */ .ProseMirror { hr.selected-node { - background-color: var(--node-selected-border-color); + &::after { + background-color: var(--node-selected-border-color); + } } .tableWrapper { diff --git a/packages/client/src/tiptap/core/styles/title.scss b/packages/client/src/tiptap/core/styles/title.scss index 0e272f4..35a2c2f 100644 --- a/packages/client/src/tiptap/core/styles/title.scss +++ b/packages/client/src/tiptap/core/styles/title.scss @@ -1,7 +1,7 @@ .ProseMirror { .title { - margin: 10px 0 22px; - font-size: 2.4em; + margin: 12px 0 24px; + font-size: 2.5em; font-weight: bold; color: var(--semi-color-text-0); border-bottom: 1px solid var(--semi-color-border);