mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-27 17:50:44 +00:00
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:
parent
d88463c1d0
commit
eb5d3aa089
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue