Padding on empty note boxes

This commit is contained in:
Jackson Harper 2023-03-31 15:50:19 +08:00
parent 579bc45237
commit 3fdc199401

View file

@ -298,13 +298,13 @@ export function MarkdownNote(props: MarkdownNote): JSX.Element {
paddingLeft:
props.fillBackground && props.text
? '10px'
: props.fillBackground
: !props.text
? '5px'
: '0px',
paddingRight:
props.fillBackground && props.text
? '10px'
: props.fillBackground
: !props.text
? '5px'
: '0px',
color: props.text ? '$thHighContrast' : '#898989',