From 16a7934ace0784bb34f4d40898a1968cc70cd830 Mon Sep 17 00:00:00 2001 From: crypt-o-warrior <64123611+crypt-o-warrior@users.noreply.github.com> Date: Fri, 16 Dec 2022 23:20:32 +0100 Subject: [PATCH] added controls and logic for changing playback speeds --- .../controls.lightbox.gallery.component.css | 8 +++- .../controls.lightbox.gallery.component.html | 48 ++++++++++++------- .../controls.lightbox.gallery.component.ts | 18 ++++--- 3 files changed, 46 insertions(+), 28 deletions(-) diff --git a/src/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.css b/src/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.css index 18204580..b2dc983d 100644 --- a/src/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.css +++ b/src/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.css @@ -65,12 +65,14 @@ .controls .control-button { margin-left: 0.2em; margin-right: 0.2em; - display: inline-block; padding: 0 0.5rem; + display: inline-block; font-size: 1.5rem; + line-height: 1; color: white; background-color: transparent; cursor: pointer; + vertical-align: middle !important; } .controls .button-disabled { @@ -277,4 +279,6 @@ input[type="range"].zoom-progress::-moz-range-track { opacity: 1; } - +.dropdown-menu { + min-width: auto; +} diff --git a/src/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html b/src/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html index 86898854..4507c9b1 100644 --- a/src/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html +++ b/src/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html @@ -34,7 +34,7 @@ aria-controls="dropdown-basic"> -