Skip to content

Commit ccbf786

Browse files
authored
fix: set transparent background for progress indicator (#1423)
Reviewed-by: @ajohn25 Reviewed-by: @hiemanshu
1 parent 945010d commit ccbf786

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/containers/AdminCampaignEdit/components/SectionWrapper.tsx

+5-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,11 @@ export const SectionWrapper: React.FC<WrapperProps> = (props) => {
181181
const cardHeaderStyle: React.CSSProperties = {};
182182

183183
if (isSaving) {
184-
avatar = <CircularProgress className={classes.cardAvatar} />;
184+
avatar = (
185+
<CircularProgress
186+
className={clsx(classes.cardAvatar, classes.cardAvatarEmpty)}
187+
/>
188+
);
185189
classNames.push(classes.saving);
186190
cardHeaderStyle.width = `${progressPercent}%`;
187191
} else if (active && expandable) {

0 commit comments

Comments
 (0)