mirror of https://github.com/fantasticit/think.git
client: update style
This commit is contained in:
parent
33dd351cff
commit
548d811130
|
@ -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',
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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)}>
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue