Sign in or sign up before continuing. Don't have an account yet? Register now to get started.
Register now

Avatar class size names don't match the actual size

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

In https://gitlab.com/gitlab-org/gitlab-ce/blob/master/app/assets/stylesheets/framework/avatar.scss#L69 the class names don't match the size being used:

  &.s16 { font-size: 12px; line-height: 1.33; }
  &.s24 { font-size: 14px; line-height: 1.8; }
  &.s26 { font-size: 20px; line-height: 1.33; }
  &.s32 { font-size: 20px; line-height: 30px; }
  &.s40 { font-size: 16px; line-height: 38px; }
  &.s60 { font-size: 32px; line-height: 58px; }
  &.s70 { font-size: 34px; line-height: 70px; }
  &.s90 { font-size: 36px; line-height: 88px; }
  &.s100 { font-size: 36px; line-height: 98px; }
  &.s110 { font-size: 40px; line-height: 108px; font-weight: $gl-font-weight-normal; }
  &.s140 { font-size: 72px; line-height: 138px; }
  &.s160 { font-size: 96px; line-height: 158px; }

eye-twitch

/cc @iamphill since your team is going to do some clean up :)

Edited Sep 27, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading