mirror of
https://github.com/strapi/strapi.git
synced 2025-11-03 03:17:11 +00:00
Fixed bug that wasn't enabling to click behind notification div (#9562)
* Fixed bug that wasn't enabling to click behind notification div * Update new notification to include pointer-events * Update new notification wrapper to include pointer-events
This commit is contained in:
parent
1a07977ae2
commit
87900d741b
@ -11,6 +11,7 @@ const Wrapper = styled(TransitionGroup)`
|
||||
width: 300px;
|
||||
margin: 0 auto;
|
||||
overflow-y: hidden;
|
||||
pointer-events: none;
|
||||
`;
|
||||
|
||||
export default Wrapper;
|
||||
|
||||
@ -16,6 +16,7 @@ const NotificationWrapper = styled.div`
|
||||
width: 400px;
|
||||
min-height: 60px;
|
||||
margin-left: ${({ centered }) => (centered ? '0px' : '240px')};
|
||||
pointer-events: auto;
|
||||
|
||||
&:hover {
|
||||
box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2);
|
||||
|
||||
@ -13,6 +13,7 @@ const Wrapper = styled(TransitionGroup)`
|
||||
list-style: none;
|
||||
width: 100%;
|
||||
overflow-y: hidden;
|
||||
pointer-events: none;
|
||||
`;
|
||||
|
||||
export default Wrapper;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user