Просмотр исходного кода

Allow the global alerts area to expand according to text sizing.

Paulo Reis 9 лет назад
Родитель
Сommit
e5533b91be
1 измененных файлов с 8 добавлено и 3 удалено
  1. 8 3
      services/web/public/stylesheets/app/editor.less

+ 8 - 3
services/web/public/stylesheets/app/editor.less

@@ -26,15 +26,20 @@
 	position: absolute;
 	z-index: 20;
 	top: 2px;
-	width: 400px;
-	left: 50%;
-	margin-left: -200px;
+	left: 0;
+	right: 0;
+	text-align: center;
+
 	.alert {
+		display: inline-block;
 		padding: (@line-height-computed / 4);
 		font-size: 14px;
 		margin-bottom: (@line-height-computed / 4);
 	}
 }
+	#try-reconnect-now-button {
+		margin-left: 20px;
+	}
 
 #ide-body {
 	.full-size;