Improve styling and layout of dashboard components
- Updated line-height in markdown paragraphs for better readability. - Adjusted margin in NoteItem component for improved spacing. - Added a class name to Flex component in PropertyChanges for enhanced styling control.
This commit is contained in:
parent
41f844b49d
commit
86b43481d8
@ -575,7 +575,7 @@ body {
|
|||||||
.markdown p {
|
.markdown p {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
margin: 10px 0;
|
margin: 10px 0;
|
||||||
line-height: 1;
|
line-height: 1.6;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown h1 {
|
.markdown h1 {
|
||||||
@ -598,6 +598,10 @@ body {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.property-changes .markdown {
|
||||||
|
width: unset;
|
||||||
|
}
|
||||||
|
|
||||||
.markdown ul,
|
.markdown ul,
|
||||||
.markdown ol {
|
.markdown ol {
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
|
|||||||
@ -170,7 +170,7 @@ const NoteItem = ({
|
|||||||
<PersonIcon />
|
<PersonIcon />
|
||||||
<Text style={{ whiteSpace: 'nowrap' }}>{note.user.name}:</Text>
|
<Text style={{ whiteSpace: 'nowrap' }}>{note.user.name}:</Text>
|
||||||
</Space>
|
</Space>
|
||||||
<div style={{ marginTop: '4px' }}>
|
<div style={{ marginTop: '1px' }}>
|
||||||
<MarkdownDisplay content={note.content} />
|
<MarkdownDisplay content={note.content} />
|
||||||
</div>
|
</div>
|
||||||
</Flex>
|
</Flex>
|
||||||
|
|||||||
@ -53,7 +53,11 @@ const PropertyChanges = ({ type, value }) => {
|
|||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<Descriptions.Item key={key} label={changeProperty.label}>
|
<Descriptions.Item key={key} label={changeProperty.label}>
|
||||||
<Flex gap={'small'} style={{ minWidth: 0, width: '100%' }}>
|
<Flex
|
||||||
|
gap={'small'}
|
||||||
|
style={{ minWidth: 0, width: '100%' }}
|
||||||
|
className='property-changes'
|
||||||
|
>
|
||||||
{value?.old ? (
|
{value?.old ? (
|
||||||
<ObjectProperty
|
<ObjectProperty
|
||||||
{...changeProperty}
|
{...changeProperty}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user