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 8f3b48a2..b3d849be 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 @@ -13,14 +13,19 @@ } .navigation-arrow ng-icon { - margin-left: -0.3em; - margin-right: -0.3em; - transform: translateY(-50%); top: 50%; - position: relative; + left: 50%; + position: absolute; line-height: 0; } +.navigation-arrow-left ng-icon { + transform: translate(-55%,-50%); +} +.navigation-arrow-right ng-icon { + transform: translate(-45%,-50%); +} + #controllers-container { z-index: 1100; color: white; @@ -84,6 +89,13 @@ z-index: 4; top: 0; } +.controls-top ng-icon { + vertical-align: middle; +} + +.controls-top ng-icon ::ng-deep svg { + vertical-align: top; +} .controls-caption { opacity: 0.7; @@ -291,8 +303,8 @@ input[type="range"].zoom-progress::-moz-range-track { } canvas { - right: 12px; - position: relative; - top: -50%; - transform: translateY(-50%); + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); } 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 8caf4ab5..d8470c21 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 @@ -8,14 +8,14 @@