This commit is contained in:
seb
2026-08-03 02:53:46 +02:00
parent 8577a63b06
commit 6d01f1f0a0
2 changed files with 10 additions and 5 deletions

View File

@@ -21,7 +21,7 @@ function TopBand() {
top: 0, top: 0,
left: 0, left: 0,
right: 0, right: 0,
height: '16.66%', height: '33.33%',
display: 'flex', display: 'flex',
alignItems: 'center', alignItems: 'center',
justifyContent: 'space-between', justifyContent: 'space-between',
@@ -30,19 +30,19 @@ function TopBand() {
> >
<IconButton <IconButton
className="sortable-handle" className="sortable-handle"
size="small"
aria-label="Verschieben" aria-label="Verschieben"
disableRipple
sx={{ cursor: 'grab', '&:active': { cursor: 'grabbing' } }} sx={{ cursor: 'grab', '&:active': { cursor: 'grabbing' } }}
> >
<DragHandleIcon sx={{ fontSize: 18 }} /> <DragHandleIcon sx={{ fontSize: 36 }} />
</IconButton> </IconButton>
<IconButton <IconButton
className="droppable-handle" className="droppable-handle"
size="small"
aria-label="In Unterkategorie ablegen" aria-label="In Unterkategorie ablegen"
disableRipple
sx={{ cursor: 'grab', '&:active': { cursor: 'grabbing' } }} sx={{ cursor: 'grab', '&:active': { cursor: 'grabbing' } }}
> >
<AccountTreeIcon sx={{ fontSize: 18 }} /> <AccountTreeIcon sx={{ fontSize: 36 }} />
</IconButton> </IconButton>
</Box> </Box>
); );

View File

@@ -39,6 +39,11 @@ body.tree-dragging {
cursor: grabbing; cursor: grabbing;
} }
body.tree-dragging,
body.tree-dragging * {
cursor: grabbing !important;
}
body.tree-dragging button, body.tree-dragging button,
body.tree-dragging input, body.tree-dragging input,
body.tree-dragging textarea, body.tree-dragging textarea,