summaryrefslogtreecommitdiffstats
path: root/assets/sass/@primer/css/avatars/avatar.scss
blob: a58c5a4f2c45497f6c402f3b81530602bc9523d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.avatar {
  display: inline-block;
  overflow: hidden; // Ensure page layout in Firefox should images fail to load
  line-height: $lh-condensed-ultra;
  vertical-align: middle;
  border-radius: $border-radius;
}

// stylelint-disable-next-line primer/borders
.avatar-small { border-radius: 2px; }

.avatar-link {
  float: left;
  line-height: $lh-condensed-ultra;
}

// User for example on /stars and /user for grids of avatars
.avatar-group-item {
  display: inline-block;
  // stylelint-disable-next-line primer/spacing
  margin-bottom: 3px;
}