Skip to content

Commit

Permalink
fix: height issue w/ text slot button fix muxinc#74
Browse files Browse the repository at this point in the history
  • Loading branch information
luwes committed Aug 3, 2022
1 parent 4fbcb00 commit e49be34
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/js/media-chrome-button.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ template.innerHTML = `
/* Vertically center any text */
font-size: 14px;
line-height: var(--media-button-icon-height, 24px);
font-weight: bold;
color: #fff;
Expand Down Expand Up @@ -62,10 +63,6 @@ template.innerHTML = `
max-height: 100%;
min-width: 100%;
}
::slotted(div), ::slotted(span) {
height: 18px;
}
</style>
`;

Expand Down

0 comments on commit e49be34

Please sign in to comment.