mirror of
https://github.com/primer/css.git
synced 2024-11-10 16:07:25 +03:00
line-height:1 => $lh-condensed-ultra
This commit is contained in:
parent
19a1b87b16
commit
783ee1caec
@ -1,7 +1,7 @@
|
||||
.avatar {
|
||||
display: inline-block;
|
||||
overflow: hidden; // Ensure page layout in Firefox should images fail to load
|
||||
line-height: 1;
|
||||
line-height: $lh-condensed-ultra;
|
||||
vertical-align: middle;
|
||||
border-radius: 3px;
|
||||
}
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
.avatar-link {
|
||||
float: left;
|
||||
line-height: 1;
|
||||
line-height: $lh-condensed-ultra;
|
||||
}
|
||||
|
||||
// User for example on /stars and /user for grids of avatars
|
||||
|
@ -4,7 +4,7 @@
|
||||
padding: 2px 5px;
|
||||
font-size: $font-size-small;
|
||||
font-weight: $font-weight-bold;
|
||||
line-height: 1;
|
||||
line-height: $lh-condensed-ultra;
|
||||
color: $gray-600;
|
||||
background-color: rgba($black, 0.08);
|
||||
border-radius: 20px;
|
||||
|
@ -20,7 +20,7 @@
|
||||
padding: 3px 4px;
|
||||
font-size: $font-size-small;
|
||||
font-weight: $font-weight-bold;
|
||||
line-height: 1; // prevent inheritance from changing proportions
|
||||
line-height: $lh-condensed-ultra; // prevent inheritance from changing proportions
|
||||
color: $text-white;
|
||||
border-radius: 2px;
|
||||
box-shadow: inset 0 -1px 0 rgba($black, 0.12);
|
||||
|
@ -5,7 +5,7 @@
|
||||
padding: 5px;
|
||||
overflow: hidden;
|
||||
font-size: $font-size-small;
|
||||
line-height: 1;
|
||||
line-height: $lh-condensed-ultra;
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
@ -51,7 +51,7 @@ $margin: 16px;
|
||||
float: left;
|
||||
padding-right: 4px;
|
||||
margin-left: -20px;
|
||||
line-height: 1;
|
||||
line-height: $lh-condensed-ultra;
|
||||
|
||||
&:focus {
|
||||
outline: none;
|
||||
|
Loading…
Reference in New Issue
Block a user