1
1
mirror of https://github.com/primer/css.git synced 2025-01-04 12:22:17 +03:00
css/modules/primer-avatars/lib/avatar.scss

21 lines
405 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
line-height: 1;
vertical-align: middle;
border-radius: 3px;
}
.avatar-small { border-radius: 2px; }
.avatar-link {
float: left;
line-height: 1;
}
// User for example on /stars and /user for grids of avatars
.avatar-group-item {
display: inline-block;
margin-bottom: 3px;
}