1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fix Chrome button text-align = center default

Chrome would override class styles on buttons in cards. Added text-align to existing selector, and added selector to existing style.
This commit is contained in:
SenorSmartyPants 2022-01-11 18:46:38 -06:00
parent 12d65a9459
commit ddb6a6ab65

View file

@ -333,6 +333,7 @@ button::-moz-focus-inner {
width: 100%; width: 100%;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
text-align: left;
} }
.innerCardFooter > .cardText { .innerCardFooter > .cardText {
@ -355,7 +356,8 @@ button::-moz-focus-inner {
background-position: center center; background-position: center center;
} }
.cardTextCentered { .cardTextCentered,
.cardTextCentered > .textActionButton {
text-align: center; text-align: center;
} }