Merge branch 'modal-blur' into 'develop'

Add backdrop-blur behind modals

See merge request soapbox-pub/soapbox!2101
environments/review-develop-3zknud/deployments/2065
Alex Gleason 2023-01-02 14:39:07 +00:00
commit 55a240a697
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Compatibility: rudimentary support for Takahē.
- UI: added backdrop blur behind modals.
### Changed
- Posts: letterbox images to 19:6 again.

Wyświetl plik

@ -241,7 +241,7 @@ const ModalRoot: React.FC<IModalRoot> = ({ children, onCancel, onClose, type })
<div
role='presentation'
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}
/>