client: update style

pull/64/head
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
style={{
borderTop: '1px solid var(--semi-color-border)',
marginTop: 24,
marginTop: '0.75em',
padding: '16px 0',
fontSize: 13,
fontWeight: 'normal',

View File

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

View File

@ -196,7 +196,7 @@ export const EditorInstance = forwardRef((props: IProps, ref) => {
ref={$mainContainer}
id={'js-tocs-container'}
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)}>

View File

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