Remove non-helpful whitespace from "Headings" help panel

The help panel is rather cramped, only 125px high. Previewing the
actual margins above and below each heading is not really helpful.
It's also that no other element in the help panel does have this
whitespace.

Also remove a bit of redundancy from some selectors. Saying that
something is for the table "cells" is more than enough. Adding the
"td" doesn't make it better, just longer.

Change-Id: I11bbd5b8ceee709c3a51b20fb06d2315bb4d9316
This commit is contained in:
thiemowmde 2024-04-17 10:30:52 +02:00 committed by Thiemo Kreuz (WMDE)
parent d88463c1d0
commit eb5d3aa089

View file

@ -295,27 +295,38 @@
vertical-align: top;
}
td.cell-syntax {
.cell-syntax {
font-family: monospace, 'Courier';
}
td.cell-syntax,
td.cell-result {
.cell-syntax,
.cell-result {
width: 40%;
}
td.cell-description {
.cell-description {
width: 20%;
}
/* T33649 */
.table-link {
td.cell-syntax,
.cell-syntax,
span.pre-wrap {
white-space: pre;
}
}
}
.cell-result {
h2,
h3,
h4,
h5 {
margin-bottom: 0;
margin-top: 0;
padding-top: 0;
}
}
}
/* Characters Pages */