Skip to content

Commit

Permalink
chore: remove unused disables
Browse files Browse the repository at this point in the history
  • Loading branch information
joshblack committed Sep 20, 2024
1 parent 65239f9 commit 25bbae0
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/react/src/Avatar/Avatar.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@

:where(.Avatar) {
display: inline-block;
/* stylelint-disable-next-line csstools/value-no-unknown-custom-properties */
width: var(--avatarSize-regular);
/* stylelint-disable-next-line csstools/value-no-unknown-custom-properties */
height: var(--avatarSize-regular);
overflow: hidden; /* Ensure page layout in Firefox should images fail to load */
/* stylelint-disable-next-line primer/typography */
Expand All @@ -20,23 +18,17 @@

&:where([data-responsive]) {
@media screen and (--viewportRange-narrow) {
/* stylelint-disable-next-line csstools/value-no-unknown-custom-properties */
width: var(--avatarSize-narrow);
/* stylelint-disable-next-line csstools/value-no-unknown-custom-properties */
height: var(--avatarSize-narrow);
}

@media screen and (--viewportRange-regular) {
/* stylelint-disable-next-line csstools/value-no-unknown-custom-properties */
width: var(--avatarSize-regular);
/* stylelint-disable-next-line csstools/value-no-unknown-custom-properties */
height: var(--avatarSize-regular);
}

@media screen and (--viewportRange-wide) {
/* stylelint-disable-next-line csstools/value-no-unknown-custom-properties */
width: var(--avatarSize-wide);
/* stylelint-disable-next-line csstools/value-no-unknown-custom-properties */
height: var(--avatarSize-wide);
}
}
Expand Down

0 comments on commit 25bbae0

Please sign in to comment.