[2] fix styles
for MarkdownEditor
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
import {styled} from '@mui/material/styles'
|
||||
import zIndex from '@mui/material/styles/zIndex'
|
||||
import SimpleMDE, {SimpleMDEReactProps} from 'react-simplemde-editor'
|
||||
|
||||
const StyledMarkdownEditor = styled('div')(({theme}) => ({
|
||||
@ -54,6 +55,14 @@ const StyledMarkdownEditor = styled('div')(({theme}) => ({
|
||||
color: theme.palette.text.primary,
|
||||
borderColor: theme.palette.divider,
|
||||
},
|
||||
|
||||
'& .EasyMDEContainer': {
|
||||
position: 'relative',
|
||||
zIndex: zIndex.modal,
|
||||
},
|
||||
'& .guide': {
|
||||
display: 'none',
|
||||
},
|
||||
}))
|
||||
|
||||
export const MarkdownEditor = (props: SimpleMDEReactProps) => (
|
||||
|
@ -34,6 +34,7 @@ export const localeText = {
|
||||
columnsPanelHideAllButton: 'Скрыть все',
|
||||
|
||||
// Filter panel text
|
||||
filterPanelOperator: 'Оператор',
|
||||
filterPanelAddFilter: 'Добавить фильтр',
|
||||
filterPanelDeleteIconLabel: 'Удалить',
|
||||
filterPanelOperators: 'Операторы',
|
||||
|
@ -130,7 +130,8 @@ export const SightShow = () => {
|
||||
<Box
|
||||
key={article.id}
|
||||
sx={{
|
||||
marginBottom: '8px',
|
||||
marginBottom: '2px',
|
||||
width: '100%',
|
||||
padding: '14px',
|
||||
borderRadius: 2,
|
||||
border: (theme) => `2px solid ${theme.palette.divider}`,
|
||||
|
Reference in New Issue
Block a user