mirror of
https://github.com/inventree/InvenTree.git
synced 2026-09-02 10:18:42 +00:00
Layout tweaks
This commit is contained in:
@@ -236,9 +236,9 @@ export default function NotesEditor({
|
|||||||
{createNote.modal}
|
{createNote.modal}
|
||||||
{deleteNote.modal}
|
{deleteNote.modal}
|
||||||
{editNote.modal}
|
{editNote.modal}
|
||||||
<Flex align='left'>
|
<Flex align='left' gap={5}>
|
||||||
<Box style={{ flex: 1 }} p='sm'>
|
<Box style={{ flex: 1 }}>
|
||||||
<Stack gap='xs'>
|
<Stack gap={5}>
|
||||||
{selectedNote && (
|
{selectedNote && (
|
||||||
<Paper p='xs' shadow='sm' withBorder>
|
<Paper p='xs' shadow='sm' withBorder>
|
||||||
<Group justify='space-between'>
|
<Group justify='space-between'>
|
||||||
@@ -255,7 +255,7 @@ export default function NotesEditor({
|
|||||||
<Tooltip label={t`Save Notes (Ctrl+S)`}>
|
<Tooltip label={t`Save Notes (Ctrl+S)`}>
|
||||||
<ActionIcon
|
<ActionIcon
|
||||||
variant='transparent'
|
variant='transparent'
|
||||||
color={isDirty ? 'yellow' : undefined}
|
color={'green'}
|
||||||
onClick={saveNote}
|
onClick={saveNote}
|
||||||
disabled={!canEdit || !isDirty}
|
disabled={!canEdit || !isDirty}
|
||||||
>
|
>
|
||||||
@@ -267,7 +267,6 @@ export default function NotesEditor({
|
|||||||
<Tooltip label={t`Reset Notes`}>
|
<Tooltip label={t`Reset Notes`}>
|
||||||
<ActionIcon
|
<ActionIcon
|
||||||
variant='transparent'
|
variant='transparent'
|
||||||
color='red'
|
|
||||||
onClick={reloadNote}
|
onClick={reloadNote}
|
||||||
disabled={!canEdit || !isDirty}
|
disabled={!canEdit || !isDirty}
|
||||||
>
|
>
|
||||||
@@ -318,7 +317,7 @@ export default function NotesEditor({
|
|||||||
</Paper>
|
</Paper>
|
||||||
</Stack>
|
</Stack>
|
||||||
</Box>
|
</Box>
|
||||||
<Paper p='sm' shadow='sm' withBorder ml='md' style={{ width: '200px' }}>
|
<Paper p='xs' shadow='sm' withBorder style={{ width: '200px' }}>
|
||||||
<Stack gap='xs'>
|
<Stack gap='xs'>
|
||||||
<Button
|
<Button
|
||||||
color='green'
|
color='green'
|
||||||
|
|||||||
Reference in New Issue
Block a user