mistica-design
mistica-design copied to clipboard
Incorrect padding in the type action of the Sheet Dialog [D]
Describe the bug
In the Desktop Library, the action in the type action of the Sheet Dialog component behaves unexpectedly. When the secondary button and link are hidden, the bottom padding increases instead of staying aligned with the primary button.
What libraries are you seeing the problem on?
Desktop Library
Steps to reproduce
- Open the Sheet Dialog in a desktop environment.
- Set the type action and hide the secondary button and link.
- Notice that the bottom padding increases instead of staying aligned with the primary button.
Expected behavior
The bottom padding should dynamically adjust to stay aligned with the primary button without creating extra space.
I'm not able to find a fix for this issue, seems to be a Figma thing.
Even changing the same variant the first time works and the second don't