Bladeren bron

Fix tag filter line height.

master
Ben Kurtovic 9 jaren geleden
bovenliggende
commit
593f7c5e8b
2 gewijzigde bestanden met toevoegingen van 6 en 1 verwijderingen
  1. +1
    -1
      index.html
  2. +5
    -0
      static/main.css

+ 1
- 1
index.html Bestand weergeven

@@ -104,7 +104,7 @@ title: Home
</td>
<td>
<h2>Posts</h2>
<div>
<div id="tags">
Tags:
{% comment %} Based on code from Christian Specht at http://stackoverflow.com/a/24744306/2712951 {% endcomment %}
{% capture tags %}{% for tag in site.tags %}{{ tag[1].size | plus: 1000 }}#{{ tag[0] }}#{{ tag[1].size }}{% unless forloop.last %}|{% endunless %}{% endfor %}{% endcapture %}


+ 5
- 0
static/main.css Bestand weergeven

@@ -114,6 +114,11 @@ p#bio {
font-size: 14px;
}

#tags {
line-height: 2em;
margin: -0.375em 0;
}

.tag {
background-color: #f2f2f2;
border: 1px solid #e8e8e8;


Laden…
Annuleren
Opslaan