mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-11-09 17:08:58 -05: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:
parent
dc8de4b11b
commit
1c5f06cf5e
@ -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)';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user