From 1177f3412584d7fd003e9703ec99ff68d6e40c45 Mon Sep 17 00:00:00 2001 From: Paulo Reis Date: Fri, 24 Nov 2017 16:43:02 +0000 Subject: [PATCH] Adjustments to keep the current SL look and feel. --- services/web/public/stylesheets/app/editor/pdf.less | 7 +++++++ services/web/public/stylesheets/app/editor/toolbar.less | 1 - 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/services/web/public/stylesheets/app/editor/pdf.less b/services/web/public/stylesheets/app/editor/pdf.less index 843617387b..a873cd5e8f 100644 --- a/services/web/public/stylesheets/app/editor/pdf.less +++ b/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; diff --git a/services/web/public/stylesheets/app/editor/toolbar.less b/services/web/public/stylesheets/app/editor/toolbar.less index 4ea41c0b95..ca9464b30a 100644 --- a/services/web/public/stylesheets/app/editor/toolbar.less +++ b/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;