sforkowany z mirror/soapbox
Merge branch 'modal-blur' into 'develop'
Add backdrop-blur behind modals See merge request soapbox-pub/soapbox!2101maybe-fix-revoke
commit
55a240a697
|
@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
- Compatibility: rudimentary support for Takahē.
|
- Compatibility: rudimentary support for Takahē.
|
||||||
|
- UI: added backdrop blur behind modals.
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- Posts: letterbox images to 19:6 again.
|
- Posts: letterbox images to 19:6 again.
|
||||||
|
|
|
@ -241,7 +241,7 @@ const ModalRoot: React.FC<IModalRoot> = ({ children, onCancel, onClose, type })
|
||||||
<div
|
<div
|
||||||
role='presentation'
|
role='presentation'
|
||||||
id='modal-overlay'
|
id='modal-overlay'
|
||||||
className='fixed inset-0 bg-gray-500/90 dark:bg-gray-700/90'
|
className='fixed inset-0 bg-gray-500/90 dark:bg-gray-700/90 backdrop-blur'
|
||||||
onClick={handleOnClose}
|
onClick={handleOnClose}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue