Browse Source

Fix tag filter line height.

master
Ben Kurtovic 9 years ago
parent
commit
593f7c5e8b
2 changed files with 6 additions and 1 deletions
  1. +1
    -1
      index.html
  2. +5
    -0
      static/main.css

+ 1
- 1
index.html View File

@@ -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 View File

@@ -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;


Loading…
Cancel
Save