Update lock.scss

pull/31/head
fantasticit 2022-04-27 11:47:14 +08:00
parent cfc9356aa0
commit 2643c5a42e
1 changed files with 7 additions and 9 deletions

View File

@ -1,24 +1,22 @@
.ProseMirror { .ProseMirror {
.is-locked { .is-locked {
position: relative; position: relative;
cursor: not-allowed;
pointer-events: none !important; pointer-events: none !important;
cursor: not-allowed;
&::after { &::after {
position: absolute; position: absolute;
z-index: 1000;
top: 0; top: 0;
left: 0; left: 0;
pointer-events: none; z-index: 1000;
align-items: center;
display: flex; display: flex;
justify-content: center;
background-color: rgb(179 212 255 / 30%);
inset: 0;
color: #fff; color: #fff;
pointer-events: none;
background-color: rgb(179 212 255 / 30%);
content: attr(data-name); content: attr(data-name);
align-items: center;
justify-content: center;
inset: 0;
} }
} }
} }