modal: edit mode glitch fix
This commit is contained in:
parent
33728ea10a
commit
c5c71aa0a6
4 changed files with 37 additions and 19 deletions
|
|
@ -390,10 +390,10 @@ i {
|
|||
&:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top:0;
|
||||
left:0;
|
||||
right:0;
|
||||
bottom:0;
|
||||
top:-40rem;
|
||||
left:-40rem;
|
||||
right:-40rem;
|
||||
bottom:-40rem;
|
||||
background:var(--color-bg);
|
||||
opacity: .5;
|
||||
}
|
||||
|
|
@ -403,6 +403,7 @@ i {
|
|||
background:var(--color-light-fg);
|
||||
border-bottom: 1rem solid var(--color-bg);
|
||||
box-shadow: 0 1rem 0 0 var(--color-light) inset;
|
||||
height:46rem;
|
||||
|
||||
&.closable {
|
||||
padding-right: 50rem;
|
||||
|
|
@ -425,7 +426,9 @@ i {
|
|||
margin:0 auto;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
border:1rem solid var(--color-track);
|
||||
box-shadow: 0.5rem 0.5rem 0 0.5rem var(--color-bg), 0 1rem 0 0 var(--color-light) inset;
|
||||
border-left:1rem solid var(--color-bg);
|
||||
border-top:1rem solid var(--color-bg);
|
||||
.popup-content {
|
||||
height:100%;
|
||||
width:100%;
|
||||
|
|
|
|||
|
|
@ -94,6 +94,7 @@
|
|||
top:0;
|
||||
}
|
||||
> .popup {
|
||||
padding:0;
|
||||
> .popup-wrapper {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
|
|
@ -104,13 +105,18 @@
|
|||
background: transparent;
|
||||
> .panel {
|
||||
background-color: var(--color-fg);
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height:100%;
|
||||
top:-1rem;
|
||||
position: absolute;
|
||||
width: auto;
|
||||
height: auto;
|
||||
top:45rem;
|
||||
left:-1rem;
|
||||
right:-1rem;
|
||||
bottom:-1rem;
|
||||
}
|
||||
}
|
||||
.popup-title {
|
||||
z-index: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.editing .popup-wrapper:after {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue