1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-25 02:42:10 +02:00

feat(error): remove confusing decorative X from error display modal (#8553)

Modify _error:
-Remove the ‘x’ decorative element from the error display modal.
This commit is contained in:
Carlos Javier Villaseñor Castillo 2024-01-10 14:32:27 -06:00 committed by GitHub
parent abdfaacd90
commit 7345768575
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,22 +2,3 @@
font-size: 1.4em;
text-align: center;
}
.vjs-error .vjs-error-display:before {
color: #fff;
content: 'X';
font-family: $text-font-family;
font-size: 4em;
left: 0;
// In order to center the play icon vertically we need to set the line height
// to the same as the button height
line-height: 1;
margin-top: -0.5em;
position: absolute;
text-shadow: 0.05em 0.05em 0.1em #000;
text-align: center;
top: 50%;
vertical-align: middle;
width: 100%;
}