Skip to content

Commit

Permalink
Split -webkit and -moz rules into separate declarations.
Browse files Browse the repository at this point in the history
  • Loading branch information
avinashbot committed Sep 3, 2024
1 parent 7ab26f9 commit ff2e5f1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/progress-bar/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,7 @@ $bar-color-in-flash: awsui.$color-background-progress-bar-content-in-flash;
background-color: $background-color;
}

&::-webkit-progress-value,
&::-moz-progress-bar {
&::-webkit-progress-value {
@include general-progress-bar-style;
background-color: $bar-color;
}
Expand All @@ -120,6 +119,11 @@ $bar-color-in-flash: awsui.$color-background-progress-bar-content-in-flash;
border-end-end-radius: 10px;
}

&::-moz-progress-bar {
@include general-progress-bar-style;
background-color: $bar-color;
}

&.progress-in-flash {
background-color: $background-color-in-flash;
&::-moz-progress-bar {
Expand Down

0 comments on commit ff2e5f1

Please sign in to comment.