diff --git a/src/app/shared/audio-player/audio-player.component.css b/src/app/shared/audio-player/audio-player.component.css index 9e5c3ad..61432fa 100644 --- a/src/app/shared/audio-player/audio-player.component.css +++ b/src/app/shared/audio-player/audio-player.component.css @@ -44,12 +44,23 @@ } .audio-player { + display: flex; + flex-direction: column; position: fixed; - bottom: 10px; - left: 20px; + width: 340px; + height: 130px; + bottom: 0; + left: 0; + align-items: center; + justify-content: center; z-index: 10; } +.audio-player.mobile { + background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0)); + width: 100%; +} + .audio-player h3 { margin-left: 15px; text-align: center; diff --git a/src/app/shared/audio-player/audio-player.component.html b/src/app/shared/audio-player/audio-player.component.html index 7484b44..95ff82f 100644 --- a/src/app/shared/audio-player/audio-player.component.html +++ b/src/app/shared/audio-player/audio-player.component.html @@ -1,4 +1,4 @@ -