-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
When using some themes (in my case the Minimal theme) the plot preview is cut off because the modal is too small (see screenshot)
Please confirm
- I have checked that I am using the latest version of the plugin released.I have searched for similar issues, but found none.To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
Any ideas?
You could fix this by manually setting a style on the modal element to make sure it fits the content rather than being a fixed width.
width: min-content;
is better than width: auto;
or width: fit-content;
in my opinion even though it squishes some of the text. But you could probably fix that with a bit more work (like setting a min width on the text elements for something like that)
you can see how much better it fits when this is set:
Additional info
No response
KrazyManJnhan000
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Projects
Milestone
Relationships
Development
Select code repository
Activity
antfightclub commentedon Oct 9, 2023
I wrote a very short and sweet CSS snippet for anyone dealing with the same issue - for me it's a problem on the default theme too!
This is the entire snippet, and should fix the width from being cut off every time you open the command!
div.modal, element.style { width: min-content; }