diff options
author | Manuel Sailer <github.com@manuel-sailer.de> | 2023-04-18 12:15:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-18 12:15:57 +0200 |
commit | 02b517bf85577e0b7831ce6b09de87a58b531932 (patch) | |
tree | b3246dbd92c4f675eee4625b2e86e38ba630a836 /css | |
parent | 6691d45c5684bd9acb9a9ce0f8d8d53882492ee3 (diff) |
Fix audio player floating when scrolling (#2142) (#2206)
Signed-off-by: ManuelSailer <github.com@manuel-sailer.de>
Signed-off-by: Manuel Sailer <github.com@manuel-sailer.de>
Diffstat (limited to 'css')
-rw-r--r-- | css/content.css | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/css/content.css b/css/content.css index 52fa87da9..37abf5fe5 100644 --- a/css/content.css +++ b/css/content.css @@ -66,6 +66,10 @@ align-items: center; } +#app-content.nc-major-version-gte-25 .podcast { + top: 0; +} + #app-content .podcast audio { display: block; width: calc(100% - 60px); @@ -108,6 +112,17 @@ left: 0; } +#app-content.nc-major-version-gte-25 .podcast { + position: sticky; +} + +@media only screen and (width < 1024px) { + #app-content.nc-major-version-gte-25 .podcast { + left: 35px; + width: calc(100% - 35px); + } +} + #notification a { text-decoration: underline; color: blue; |