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

Adjustments to keep the current SL look and feel.

Paulo Reis 9 лет назад
Родитель
Сommit
1177f34125

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

@@ -7,6 +7,7 @@
 
 .pdf .toolbar.toolbar-pdf when (@is-overleaf = false) {
 	.toolbar-tall-mixin;
+	padding: 0 (@line-height-computed / 2);
 }
 
 .pdf-viewer, .pdf-logs, .pdf-errors, .pdf-uncompiled {
@@ -25,9 +26,15 @@
 }
 
 .btn-recompile-group when (@is-overleaf = true) {
+	align-self: stretch;
 	margin-right: 5px;
 }
 
+.btn-recompile-group when (@is-overleaf = false) {
+	margin-right: (@line-height-computed / 2);
+}
+
+
 .btn-recompile when (@is-overleaf = true) {
 	height: 100%;
 	.btn-primary;

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

@@ -26,7 +26,6 @@
 		display: inline-block;
 		color: @toolbar-icon-btn-color;
 		padding: 0 5px;
-		// margin: 1px 2px;
 		border-radius: @border-radius-small;
 		&:hover {
 			text-shadow: @toolbar-icon-btn-hover-shadow;