Browse Source

Small CSS fix in Dialog

feature/bump-dependencies
Timothée Jaussoin 2 weeks ago
parent
commit
c4cc7d37d3
  1. 23
      public/theme/css/dialog.css

23
public/theme/css/dialog.css

@ -22,48 +22,49 @@
height: 90%;
}
.dialog > section {
.dialog>section {
max-height: calc(90vh - 7.2rem);
height: 100%;
overflow-y: auto;
position: relative;
}
.dialog > section > *:first-child:not(ul) {
.dialog>section>*:first-child:not(ul) {
margin-top: 1rem;
}
.dialog > section > table {
.dialog>section>table {
margin: 0 auto;
padding: 2rem 1.5rem;
}
.dialog > section h3,
.dialog > section h4,
.dialog > section form > div:not(:has(ul.list)) {
.dialog>section>form>label,
.dialog>section h3,
.dialog>section h4,
.dialog>section form>div:not(:has(ul.list)) {
padding-left: 1.5rem;
padding-right: 1.5rem;
}
.dialog > footer {
.dialog>footer {
text-align: right;
padding: 0.75rem;
padding-bottom: 0.5rem;
padding-top: 0;
}
.dialog > section h3 + h4 {
.dialog>section h3+h4 {
opacity: 0.7;
padding-top: 0.5rem;
}
.dialog > section form > p {
.dialog>section form>p {
margin-top: 1rem;
padding: 0 1.5rem;
}
/* List specific */
.dialog > section form ul.list li > .primary {
.dialog>section form ul.list li>.primary {
left: 0;
}
@ -74,4 +75,4 @@
min-width: 0;
left: 3rem;
}
}
}
Loading…
Cancel
Save