My project is to create a video streaming app using NextJS, where I want to display a video and also its subtitles.
Problem:
In Chrome browser the subtitles have a background and I want to remove it (or change its height):
 
In Firefox or Safari it all works fine.
My code:
margin: auto;   
outline-offset: 0.5px;  
outline: 100vw solid
rgba(32, 35, 37, 0.85);   
background-image: linear-gradient(
                                    to bottom,
                                    rgba(32, 35, 37, 0.85),
                                    rgba(32, 35, 37, 0.85)   
                                );
I also tried background-color but it is not working.
Is there any solution?
 
    