Skip to content

Commit d793ee7

Browse files
author
tildehacker
authored
Fix collapsing margins in post tags (#37)
* Change tag display and add margin - Change display to inline-block; - Add 0.3em margin except for left margin. * Change post tags text-align property to initial The .wrapper class used in this theme forces the text-align property of most of the page to justify. Tags look better with a left text-align.
1 parent ca11c0e commit d793ee7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

_sass/dash/_layout.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,9 +241,15 @@
241241
}
242242
}
243243

244+
.tag {
245+
display: inline-block;
246+
margin: 0.3em 0.3em 0.3em 0;
247+
}
248+
244249
.post-tags {
245250
margin-top: 0.3em;
246251
margin-bottom: 0.5em;
252+
text-align: initial;
247253
}
248254

249255
.credits {

0 commit comments

Comments
 (0)