Fix: margin for deleted sections
This commit is contained in:
parent
00687983f0
commit
22d4767511
|
@ -302,13 +302,10 @@ input:invalid {
|
||||||
}
|
}
|
||||||
/************ content ***********/
|
/************ content ***********/
|
||||||
#sections > * {
|
#sections > * {
|
||||||
margin: 0.7rem;
|
padding: 1rem 1rem;
|
||||||
padding: 1rem 1rem .3rem;
|
margin: 0 0.7rem;
|
||||||
}
|
}
|
||||||
#sections > *:first-child {
|
#sections > :not(:first-child) {
|
||||||
padding: 0 1rem .3rem;
|
|
||||||
}
|
|
||||||
#sections > *:not(:first-child) {
|
|
||||||
border-top: 2px solid hsl(0, 0%, 80%);
|
border-top: 2px solid hsl(0, 0%, 80%);
|
||||||
}
|
}
|
||||||
.add-section:after {
|
.add-section:after {
|
||||||
|
@ -325,7 +322,7 @@ input:invalid {
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
.edit-actions button {
|
.edit-actions button {
|
||||||
margin: 0 .2rem .5rem 0;
|
margin-right: .2rem;
|
||||||
}
|
}
|
||||||
.dirty > label::before {
|
.dirty > label::before {
|
||||||
content: "*";
|
content: "*";
|
||||||
|
@ -350,9 +347,12 @@ input:invalid {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.section .CodeMirror {
|
.section .CodeMirror {
|
||||||
margin: .5rem 0;
|
margin-bottom: .875rem;
|
||||||
}
|
}
|
||||||
/* deleted section */
|
/* deleted section */
|
||||||
|
.deleted-section {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
.section .deleted-section {
|
.section .deleted-section {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user