Incorrect rendering of the loading spinner inside the image viewer
authorAlexander Ebert <ebert@woltlab.com>
Thu, 28 Nov 2019 15:48:31 +0000 (16:48 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 28 Nov 2019 15:48:31 +0000 (16:48 +0100)
wcfsetup/install/files/style/ui/imageViewer.scss

index 142fcf562198927152d0db0ae4d0b449c098710a..4e59145c595abd7074bdb69b9c1d3edeb9495407 100644 (file)
@@ -210,6 +210,12 @@ $wcfImageViewerFontColor: rgba(211, 211, 211, 1);
                &.loading:before {
                        @extend .icon48;
                        @extend .fa-spinner;
+                       
+                       content: "" !important;
+                       display: block;
+                       left: calc(50% - 34px);
+                       position: absolute;
+                       top: calc(50% - 34px);
                }
                
                > img {