Skip to content

Commit

Permalink
feat(error): remove confusing decorative X from error display modal (#…
Browse files Browse the repository at this point in the history
…8553)

Modify _error:
-Remove the ‘x’ decorative element from the error display modal.
  • Loading branch information
CarlosVillasenor committed Jan 10, 2024
1 parent abdfaac commit 7345768
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions src/css/components/_error.scss
Expand Up @@ -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%;
}

0 comments on commit 7345768

Please sign in to comment.