Skip to content

Commit

Permalink
fix(styles): add background-size to ensure the display of icons (#1394)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamedMok committed Mar 15, 2023
1 parent 79c660b commit 746006d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/styles/components/_c.file-uploader.scss
Expand Up @@ -158,6 +158,7 @@
background:
transparent
url(inline-icons("delete-24", $color-fileuploader-font)) no-repeat;
background-size: $mu150;
display: block;
}

Expand Down
1 change: 1 addition & 0 deletions packages/styles/components/_c.notification.scss
Expand Up @@ -103,6 +103,7 @@

background: transparent
url(inline-icons('cross-16', $notification-close-icon-color)) no-repeat;
background-size: $mu100;
border: 0;
cursor: pointer;
display: block;
Expand Down
2 changes: 2 additions & 0 deletions packages/styles/components/_c.toggle.scss
Expand Up @@ -73,6 +73,7 @@
background: $color-toggle-off-circle
url(inline-icons("control-cross-16", $color-toggle-off-background))
no-repeat center;
background-size: $mu100;
border: solid get-border("l") $color-toggle-off-background;
will-change: transform;
transition: transform 100ms ease, border-color 100ms ease;
Expand Down Expand Up @@ -103,6 +104,7 @@
"notification-available-16",
$color-toggle-disabled-checked-background
));
background-size: $mu100;
cursor: not-allowed;
}
}
Expand Down

0 comments on commit 746006d

Please sign in to comment.