mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-07 21:49:58 +02:00
feat: Improved media player spacings, b=no-bug, c=media
This commit is contained in:
parent
120f15d645
commit
54702d9092
1 changed files with 5 additions and 2 deletions
|
@ -285,14 +285,17 @@
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
--toolbarbutton-outer-padding: 0;
|
--toolbarbutton-outer-padding: 0;
|
||||||
container: media-controls / inline-size;
|
container: media-controls / inline-size;
|
||||||
|
gap: 0.7rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#zen-media-playback-buttons {
|
#zen-media-playback-buttons {
|
||||||
gap: 1.3rem;
|
justify-content: space-between;
|
||||||
|
max-width: 7em;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Hide #zen-media-focus-button if it doesn't fit in the toolbar */
|
/* Hide #zen-media-focus-button if it doesn't fit in the toolbar */
|
||||||
@container media-controls (max-width: 160px) {
|
@container media-controls (max-width: 150px) {
|
||||||
#zen-media-focus-button {
|
#zen-media-focus-button {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue