Fixes issue #10857 ("Tags have extra space at the bottom when they should be centered") (#10861)

* Fix for #10857 centered category tag text

* Fixes #10857 and #10856 display tag markdown.
This commit is contained in:
Nathan Zimmerman
2018-11-26 01:44:41 -08:00
committed by Matteo Pagliazzi
parent 6181328ac1
commit 2bebaf2cf8
2 changed files with 15 additions and 5 deletions

View File

@@ -478,12 +478,17 @@
.category-label {
min-width: 68px;
overflow: hidden;
padding: .5em 1em;
text-overflow: ellipsis;
white-space: nowrap;
width: 68px;
word-wrap: break-word;
// Applies to v-markdown generated p tag.
p {
margin-bottom: 0px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
word-wrap: break-word;
}
}
}
}