1
1
mirror of https://github.com/primer/css.git synced 2024-12-18 11:41:33 +03:00
css/modules/primer-avatars/lib/avatar.scss

21 lines
441 B
SCSS
Raw Normal View History

2017-05-11 07:56:23 +03:00
.avatar {
display: inline-block;
overflow: hidden; // Ensure page layout in Firefox should images fail to load
2017-07-18 02:48:44 +03:00
line-height: $lh-condensed-ultra;
2017-05-11 07:56:23 +03:00
vertical-align: middle;
border-radius: 3px;
}
.avatar-small { border-radius: 2px; }
.avatar-link {
float: left;
2017-07-18 02:48:44 +03:00
line-height: $lh-condensed-ultra;
2017-05-11 07:56:23 +03:00
}
// User for example on /stars and /user for grids of avatars
.avatar-group-item {
display: inline-block;
margin-bottom: 3px;
}