mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-15 04:42:23 +08:00
fix(service-layout): disable click an side panel when collapsed
This commit is contained in:
parent
3c36d36473
commit
fa49f88816
@ -199,8 +199,10 @@
|
||||
&.n-nimbus-service-layout__drawer--collapsed {
|
||||
transform: translateX(-224px);
|
||||
transition: transform .3s cubic-bezier(0.4, 0.0, 0.2, 1);
|
||||
pointer-events: none;
|
||||
.n-nimbus-service-layout-drawer__toggle-button {
|
||||
transform: translateX(50%) translateY(-50%) rotate(180deg);
|
||||
pointer-events: all;
|
||||
}
|
||||
.n-nimbus-service-layout-drawer__item-wrapper {
|
||||
opacity: 0;
|
||||
|
Loading…
Reference in New Issue
Block a user