]> source.dussan.org Git - nextcloud-server.git/commitdiff
Align vertically loading icon and status message
authorDaniel Calviño Sánchez <danxuliu@gmail.com>
Sat, 20 May 2017 20:26:58 +0000 (22:26 +0200)
committerDaniel Calviño Sánchez <danxuliu@gmail.com>
Mon, 7 Aug 2017 13:01:05 +0000 (15:01 +0200)
As both elements are inline/inline-block and belong to the same line
they can be aligned vertically using "vertical-align: middle".

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
apps/theming/css/settings-admin.css

index fe86f4a9d270d3da00d65fdcc432f69f0c74f75f..0d671ef20bcd049ffd3f1788231b48e0b05c7daf 100644 (file)
@@ -47,10 +47,6 @@ form.uploadButton {
     visibility: visible;
 }
 
-#theming .icon-loading-small:after {
-    margin: -10px 0 0 -10px;
-}
-
 #theming label span {
     display: inline-block;
     min-width: 120px;
@@ -73,11 +69,15 @@ form.uploadButton {
 
 }
 #theming_settings_loading.icon-loading-small {
-    float: left;
-    padding: 0;
+    display: inline-block;
+    vertical-align: middle;
     margin-right: 10px;
 }
 
+#theming_settings_msg {
+    vertical-align: middle;
+}
+
 #theming-preview-logo {
     cursor: pointer;
 }