Skip to content

Commit

Permalink
Fix late progress on CTRL banner
Browse files Browse the repository at this point in the history
There was some weird styles being added to the single
progress bar once late progress was activated that
are now fixed.

Ticket: https://phabricator.wikimedia.org/T381398
  • Loading branch information
Abban committed Dec 10, 2024
1 parent 2136e79 commit 5098704
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/environment/dev/CampaignParameterOverride.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ export function getCampaignParameterOverride( campaignParameters: CampaignParame
...campaignParameters,
startDate: '2024-10-28',
endDate: '2024-12-31',
isLateProgress: false
isLateProgress: true
};
}
7 changes: 1 addition & 6 deletions src/themes/Modo/ProgressBar/ProgressBar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

&-fill-wrapper {
height: 18px;
line-height: 18px;
line-height: 15px;
width: 100%;
border: 2px solid var( --progress-bar-border );
border-radius: 13px;
Expand All @@ -55,17 +55,12 @@

&--late-progress {
.wmde-banner-progress-bar-text {
margin-bottom: 0;
font-size: 12px;

@media ( min-width: 360px ) {
font-size: 14px;
}
}
.wmde-banner-progress-bar-fill-wrapper {
height: 26px;
line-height: 22px;
}
.wmde-banner-progress-bar-fill-text {
display: inline;
}
Expand Down

0 comments on commit 5098704

Please sign in to comment.