Merge "icons: restore "background-" CSS rules"

This commit is contained in:
jenkins-bot 2024-02-22 16:43:09 +00:00 committed by Gerrit Code Review
commit baf9430f30
2 changed files with 11 additions and 0 deletions

View file

@ -3,6 +3,11 @@
.cdx-mixin-css-icon-size( );
.cdx-mixin-css-icon-alignment( );
font-size: 14px;
// Temporary fix for https://phabricator.wikimedia.org/T356540
background-position: center;
background-repeat: no-repeat;
background-size: ~'calc( max( @{size-icon-medium}, @{min-size-icon-medium} ) )';
}
// Temporary generic small icon class
@ -11,4 +16,7 @@
.cdx-mixin-css-icon-background( @size-icon-x-small );
.cdx-mixin-css-icon-size( @size-icon-x-small );
.cdx-mixin-css-icon-alignment( );
// Temporary fix for https://phabricator.wikimedia.org/T356540
background-size: ~'calc( max( @{size-icon-x-small}, @{min-size-icon-x-small} ) )';
}

View file

@ -23,6 +23,9 @@
.cdx-mixin-css-icon-background( @size-icon-small );
.cdx-mixin-css-icon-size( @size-icon-small );
.cdx-mixin-css-icon-alignment( );
// Temporary fix for https://phabricator.wikimedia.org/T356540
background-size: ~'calc( max( @{size-icon-small}, @{min-size-icon-small} ) )';
}
}