You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new to headlessUI so apologies if the solution to this may be obvious...
I'm wondering how to position the Dialog.Panel at the right side of the screen and only have it take up a certain width
The reason I need to limit the width is that I need to click outside the panel in order to close it (ie the grey area). If I'm not limiting its width, there's no outside area to click on.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm new to headlessUI so apologies if the solution to this may be obvious...
I'm wondering how to position the
Dialog.Panel
at the right side of the screen and only have it take up a certain widthThe reason I need to limit the width is that I need to click outside the panel in order to close it (ie the grey area). If I'm not limiting its width, there's no outside area to click on.
Beta Was this translation helpful? Give feedback.
All reactions