Make inline tags look nicer with v2 typography.

This commit is contained in:
Paulo Reis 2017-12-21 12:57:33 +00:00
parent 484d34e296
commit f5751c34a9
4 changed files with 7 additions and 3 deletions

View file

@ -345,9 +345,9 @@ ul.project-list {
.tag-label {
margin-left: @line-height-computed / 4;
position: relative;
top: -2px;
display: inline-block;
white-space: nowrap;
top: @tag-top-adjustment;
}
.tag-label-name,
.tag-label-remove {

View file

@ -5,7 +5,7 @@
.label {
display: inline;
padding: .2em .6em .3em;
font-size: 75%;
font-size: @labels-font-size;
font-weight: bold;
line-height: 1;
color: @label-color;

View file

@ -952,4 +952,6 @@
@tag-border-radius : 0.25em;
@tag-bg-color : @label-default-bg;
@tag-max-width : 150px;
@tag-bg-hover-color : darken(@label-default-bg, 10%);
@tag-bg-hover-color : darken(@label-default-bg, 10%);
@tag-top-adjustment : -2px;
@labels-font-size : 75%;

View file

@ -93,6 +93,8 @@
@tag-border-radius : 9999px;
@tag-bg-color : @ol-green;
@tag-bg-hover-color : @ol-dark-green;
@tag-top-adjustment : 2px;
@labels-font-size : 85%;
// Navbar
@navbar-default-padding : (@grid-gutter-width / 2) 0;