Bläddra i källkod

fix margin for modal alerts on upload

Henry Oswald 11 år sedan
förälder
incheckning
7e31851949

+ 3 - 4
services/web/app/views/project/editor/file-tree.jade

@@ -354,10 +354,9 @@ script(type='text/ng-template', id='newFolderModalTemplate')
 script(type="text/ng-template", id="uploadFileModalTemplate")
 	.modal-header
 		h3 #{translate("upload_files")}
-		span  
-		.alert.alert-warning.small(ng-if="tooManyFiles") #{translate("maximum_files_uploaded_together", {max:"{{max_files}}"})}
-		.alert.alert-warning.small(ng-if="rateLimitHit") #{translate("too_many_files_uploaded_throttled_short_period")}
-		.alert.alert-warning.small(ng-if="notLoggedIn") #{translate("session_expired_redirecting_to_login", {seconds:"{{secondsToRedirect}}"})}
+		.alert.alert-warning.small.modal-alert(ng-if="tooManyFiles") #{translate("maximum_files_uploaded_together", {max:"{{max_files}}"})}
+		.alert.alert-warning.small.modal-alert(ng-if="rateLimitHit") #{translate("too_many_files_uploaded_throttled_short_period")}
+		.alert.alert-warning.small.modal-alert(ng-if="notLoggedIn") #{translate("session_expired_redirecting_to_login", {seconds:"{{secondsToRedirect}}"})}
 
 	.modal-body(
 		fine-upload

+ 5 - 0
services/web/public/stylesheets/app/editor.less

@@ -237,3 +237,8 @@
 		}
 	}
 }
+
+.modal-alert {
+	margin-top:10px;
+	margin-bottom:0px;
+}