improve markdown tab spacing
This commit is contained in:
parent
43d3ba1807
commit
39625f7e08
|
@ -214,10 +214,10 @@ export function MarkdownInput ({ label, topLevel, groupClassName, onChange, setH
|
|||
<div className={`${styles.markdownInput} ${tab === 'write' ? styles.noTopLeftRadius : ''}`}>
|
||||
<Nav variant='tabs' defaultActiveKey='write' activeKey={tab} onSelect={tab => setTab(tab)}>
|
||||
<Nav.Item>
|
||||
<Nav.Link eventKey='write'>write</Nav.Link>
|
||||
<Nav.Link className='py-1' eventKey='write'>write</Nav.Link>
|
||||
</Nav.Item>
|
||||
<Nav.Item>
|
||||
<Nav.Link eventKey='preview' disabled={!meta.value}>preview</Nav.Link>
|
||||
<Nav.Link className={styles.previewTab} eventKey='preview' disabled={!meta.value}>preview</Nav.Link>
|
||||
</Nav.Item>
|
||||
<a
|
||||
className='ms-auto text-muted d-flex align-items-center'
|
||||
|
|
|
@ -44,4 +44,9 @@
|
|||
.suggestionsMenu {
|
||||
opacity: 1 !important;
|
||||
pointer-events: unset !important;
|
||||
}
|
||||
|
||||
.previewTab {
|
||||
padding-top: .2rem;
|
||||
padding-bottom: .3rem;
|
||||
}
|
Loading…
Reference in New Issue