mirror of
https://github.com/strapi/strapi.git
synced 2025-11-11 07:39:16 +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;
|
width: 300px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
|
pointer-events: none;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export default Wrapper;
|
export default Wrapper;
|
||||||
|
|||||||
@ -16,6 +16,7 @@ const NotificationWrapper = styled.div`
|
|||||||
width: 400px;
|
width: 400px;
|
||||||
min-height: 60px;
|
min-height: 60px;
|
||||||
margin-left: ${({ centered }) => (centered ? '0px' : '240px')};
|
margin-left: ${({ centered }) => (centered ? '0px' : '240px')};
|
||||||
|
pointer-events: auto;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2);
|
box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2);
|
||||||
|
|||||||
@ -13,6 +13,7 @@ const Wrapper = styled(TransitionGroup)`
|
|||||||
list-style: none;
|
list-style: none;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
|
pointer-events: none;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export default Wrapper;
|
export default Wrapper;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user