Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: revert overflow hidden in section, unset in modal (#3364)
This reverts and adapts https://github.com/Unleash/unleash/pull/3307/files#r1135784293 - Apparently it broke the form border radius when not in modal mode. This change makes it so that we have `overflow: hidden` in most cases but `overflow: unset` when using `FormTemplate` as a modal, effectively covering both use cases. Normal: ![image](https://user-images.githubusercontent.com/14320932/226637777-cc8dba05-4447-4bee-b517-59d4e1dc1923.png) Modal (`position: sticky` header in variants still works correctly): ![image](https://user-images.githubusercontent.com/14320932/226637986-bb744c3f-822b-454b-b058-450e7263bf5f.png)
- Loading branch information