]> git.openstreetmap.org Git - rails.git/commitdiff
Remove the dashed underline from prose headings
authorAndy Allan <git@gravitystorm.co.uk>
Thu, 2 Jan 2020 12:40:30 +0000 (13:40 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Thu, 2 Jan 2020 12:40:30 +0000 (13:40 +0100)
No other headings are underlined, and the underlines look more like
a section separator (e.g. dashed hr) and so visually separated the
heading from its content.

app/assets/stylesheets/common.scss

index 1c8fe29512c54929ecf9352f8cb07d76d0f0d114..3f2a151ab913b71d53e8579119c1373d5784c367 100644 (file)
@@ -2269,12 +2269,6 @@ a.button {
 
 .richtext,
 .prose {
-  h1, h2 {
-    padding-bottom: $lineheight/2;
-    border-bottom: 1px dashed $grey;
-    margin-bottom: $lineheight/2;
-  }
-
   code {
     font-size: 13px;
     background: $lightgrey;