Skip to content

Commit dbfe03d

Browse files
Merge pull request #3193 from nextcloud/enh/noid/fix-plyr-speed-button
fix(plyr): the speed settings button should not be cut
2 parents 7bcc76e + 913e84e commit dbfe03d

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/viewer-init.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* extracted by css-entry-points-plugin */
2-
@import './init-UG3gDniN.chunk.css';
2+
@import './init-CcAC_oNB.chunk.css';
33
@import './previewUtils-DsspQ6dL.chunk.css';
44
@import './NcIconSvgWrapper-Bui9PhAS-3xIBDiQU.chunk.css';
55
@import './NcActionButton-Dc3ra1Np.chunk.css';

src/mixins/Plyr.scss

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,11 @@
6666

6767
// Menu items
6868
.plyr__menu__container button {
69-
// avoid size change and flicker
70-
width: 120px;
69+
// Keep a baseline width to avoid size change and flicker when
70+
// switching panes, but allow growing so labels (e.g. the localized
71+
// "Speed: Normal") are never cut off.
72+
min-width: 120px;
73+
width: max-content;
7174
margin: 0;
7275
// background is main-bg
7376
color: var(--color-main-text);

0 commit comments

Comments
 (0)