fix panel opening wrapping glitch (#4204) (#4673)

Fix: (#4204)

The issue was that when that panel was opened its content would wrap
instead of maintaining its desired structure. I fixed this bug by adding
a minimum width to the panel's contents so that they would stay
correctly formatted throughout the opening transition.

---------

Co-authored-by: Félix Malfait <[email protected]>
This commit is contained in:
Simão Sanguinho
2024-04-02 16:20:08 +02:00
committed by GitHub
co-authored by Félix Malfait
parent bbffde1ca0
commit bc6db2d8b0
@@ -102,13 +102,14 @@ export const RightDrawer = () => {
const variants = {
fullScreen: {
width: '100%',
x: '0%',
},
normal: {
x: '0%',
width: rightDrawerWidth,
},
closed: {
width: 0,
x: '100%',
},
};