client: update style

This commit is contained in:
fantasticit 2022-05-30 00:22:37 +08:00
parent 33dd351cff
commit 548d811130
4 changed files with 4 additions and 3 deletions

View File

@ -13,7 +13,7 @@ export const Author: React.FC<IProps> = ({ document }) => {
<div <div
style={{ style={{
borderTop: '1px solid var(--semi-color-border)', borderTop: '1px solid var(--semi-color-border)',
marginTop: 24, marginTop: '0.75em',
padding: '16px 0', padding: '16px 0',
fontSize: 13, fontSize: 13,
fontWeight: 'normal', fontWeight: 'normal',

View File

@ -2,6 +2,7 @@
display: flex; display: flex;
padding: 1rem 4px; padding: 1rem 4px;
font-size: 1em; font-size: 1em;
color: #000;
cursor: pointer; cursor: pointer;
justify-content: center; justify-content: center;
} }

View File

@ -196,7 +196,7 @@ export const EditorInstance = forwardRef((props: IProps, ref) => {
ref={$mainContainer} ref={$mainContainer}
id={'js-tocs-container'} id={'js-tocs-container'}
style={{ style={{
padding: isMobile ? `0 24px ${editable ? '42px' : 0}` : `0 6rem ${editable ? '42px' : 0}`, padding: isMobile ? `0 24px 50px` : `0 6rem 50px`,
}} }}
> >
<div className={cls(styles.contentWrap, editorWrapClassNames)}> <div className={cls(styles.contentWrap, editorWrapClassNames)}>

View File

@ -61,7 +61,7 @@
} }
.commentWrap { .commentWrap {
padding: 16px 0 32px; padding: 16px 0 64px;
border-top: 1px solid var(--semi-color-border); border-top: 1px solid var(--semi-color-border);
} }
} }