1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-28 09:39:43 +02:00

fix: Fix board actions for mobile

This commit is contained in:
Maksim Eltyshev 2022-11-20 15:14:49 +01:00
parent 9495234066
commit f62cba9bcd
2 changed files with 41 additions and 27 deletions

View file

@ -28,6 +28,7 @@ const BoardActions = React.memo(
onLabelDelete, onLabelDelete,
}) => { }) => {
return ( return (
<div className={styles.wrapper}>
<div className={styles.actions}> <div className={styles.actions}>
<div className={styles.action}> <div className={styles.action}>
<Memberships <Memberships
@ -57,6 +58,7 @@ const BoardActions = React.memo(
/> />
</div> </div>
</div> </div>
</div>
); );
}, },
); );

View file

@ -1,5 +1,6 @@
:global(#app) { :global(#app) {
.action { .action {
flex: 0 0 auto;
margin-right: 20px; margin-right: 20px;
} }
@ -8,4 +9,15 @@
display: flex; display: flex;
margin: 20px 20px; margin: 20px 20px;
} }
.wrapper {
overflow-x: auto;
overflow-y: hidden;
-ms-overflow-style: none;
scrollbar-width: none;
&::-webkit-scrollbar {
display: none;
}
}
} }