Remove custom margins on sidebar headings

Margin-top in particular is best avoided. The removal of some top
margins required a few corresponding changes to add bottom margins
to other features, mostly done by converting bare text strings to
live within paragraphs.
This commit is contained in:
Andy Allan 2021-11-03 17:27:33 +00:00
parent c2d6a3090c
commit 2b84452222
4 changed files with 13 additions and 15 deletions

View file

@ -370,8 +370,6 @@ body.compact-nav {
}
h3, h4 {
margin-top: $lineheight;
margin-bottom: $lineheight/2;
font-size: 1.25rem;
}
@ -813,7 +811,6 @@ tr.turn:hover {
border-bottom: 1px solid $grey;
h4:first-child {
margin-top: 0;
word-wrap: break-word;
}
}
@ -858,6 +855,7 @@ tr.turn:hover {
border-collapse: separate;
border-spacing: 0;
width: 100%;
margin-bottom: $spacer;
th, td {
border-bottom: 1px solid $grey;
@ -910,7 +908,7 @@ tr.turn:hover {
.subscribe-buttons {
float: left;
margin: 18px 10px 10px;
margin: 0 10px;
min-width: 80px;
}
@ -966,7 +964,7 @@ tr.turn:hover {
}
.export_area_inputs {
margin-bottom: $lineheight/2;
margin-bottom: $spacer;
input[type="text"] {
width: 100px;
text-align: center;