diff --git a/components/app/AudioPlayer.vue b/components/app/AudioPlayer.vue index 69c1188b..db5fbafc 100644 --- a/components/app/AudioPlayer.vue +++ b/components/app/AudioPlayer.vue @@ -1,20 +1,31 @@ @@ -1013,6 +1032,12 @@ export default { .fullscreen .playerContainer { height: 200px; } +@media (orientation: landscape) { + .fullscreen .playerContainer { + width: 50%; + left: 50%; + } +} #playerContent { box-shadow: 0px -8px 8px #11111155; } @@ -1040,13 +1065,45 @@ export default { border-radius: 3px; overflow: hidden; } +@media (orientation: landscape) { + .fullscreen .cover-wrapper { + left: 25px !important; + top: 50px; + width: calc(50% - 25px) !important; + height: calc(100% - 85px) !important; + } + .fullscreen .cover-wrapper > div > div { + width: 100% !important; + height: 100% !important; + max-width: 100% !important; + max-height: 100% !important; + } + .fullscreen .cover-wrapper > div > div > div { + background-color: transparent; + } + .fullscreen .cover-wrapper img { + object-fit: contain; + } +} .total-track { bottom: 215px; left: 0; right: 0; } +@media (orientation: landscape) { + .fullscreen .total-track { + left: 50%; + width: 50%; + } +} +@media (orientation: landscape) { + .fullscreen .title-author-texts { + left: 50% !important; + width: 50% !important; + } +} .title-author-texts { transition: all 0.15s cubic-bezier(0.39, 0.575, 0.565, 1); transition-property: left, bottom, width, height;