-
Notifications
You must be signed in to change notification settings - Fork 852
Description
Describe the bug
I'm attempting to place a "code input" component within a modal. This renders fine, but I cannot modify the size of the "code input" component itself. None of the CSS or Tailwind class modifications I've done actually affect the size of the code editing window itself. This appears to be because multiple divs that exist between the wm-modal-container and wm-component-c divs have explicit heights set. There does not appear to be a way to modify these. Using the built-in sliders for "full height" in the style section do not appear to resolve this either.
To reproduce
- Create modal component.
- Set modal popup CSS style to
height: 85dvh - Create "code editor" component as child of the modal.
- Configure container or text CSS style (
height: 800px,height: 100%, etc.)
Expected behavior
Setting a height class or style on "code editor" component should respect the boundaries of the modal container itself. For example, adding the h-full Tailwind class should cause the code editing window to take up the full height of the modal container.
Screenshots
Multiple divs with explicit height settings; they do not appear to be configurable via Windmill-native options.
Browser information
Firefox 144.0 (64-bit) on Ubuntu
Application version
CE v1.571.0-5-gf7b5595db
Additional Context
No response