mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-10-06 22:32:41 +07:00
Remove custom background styling from progress bar
Eliminated inline background color styles for the progressControl and its holder in EndScreenHandler. This change relies on default or external styles for a cleaner implementation.
This commit is contained in:
@@ -86,13 +86,6 @@ export class EndScreenHandler {
|
||||
const progressControl = controlBar.getChild('progressControl');
|
||||
if (progressControl) {
|
||||
progressControl.show();
|
||||
progressControl.el().style.backgroundColor = 'rgba(0, 0, 0, 0.8)';
|
||||
|
||||
// Also style the progress holder for seamless look
|
||||
const progressHolder = progressControl.el().querySelector('.vjs-progress-holder');
|
||||
if (progressHolder) {
|
||||
progressHolder.style.backgroundColor = 'rgba(0, 0, 0, 0.6)';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user