Skip to content

Commit 737797c

Browse files
committed
Adjust button position in shorts player
1 parent f2a1f44 commit 737797c

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

ui/scss/component/_shorts.scss

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ body:has(.main--shorts-page):not(:has(.navigation__overlay--active)) {
512512

513513
@media (max-width: 1400px) and (min-width: 1020px) {
514514
.shorts-page__navigation {
515-
left: 280px !important;
515+
left: 400px !important;
516516
right: auto !important;
517517
transition: none !important;
518518
top: 60px;
@@ -532,7 +532,19 @@ body:has(.main--shorts-page):not(:has(.navigation__overlay--active)) {
532532
}
533533
}
534534

535-
@media (max-width: 1400px) and (min-width: 1020px) and (max-height: 650px) {
535+
@media (max-width: 1150px) and (min-width: 1020px) and (min-height: 750px) {
536+
.shorts-page__navigation {
537+
left: 300px !important;
538+
}
539+
}
540+
541+
@media (max-width: 1150px) and (min-width: 1020px) and (min-height: 850px) {
542+
.shorts-page__navigation {
543+
left: calc(var(--shorts-viewer-width-default) - 50px) !important;
544+
}
545+
}
546+
547+
@media (max-width: 1150px) and (min-width: 1020px) and (max-height: 750px) {
536548
.shorts-page__navigation {
537549
left: 270px !important;
538550
padding-bottom: 70px !important;

0 commit comments

Comments
 (0)