From d7e4009504d6ee21876a410e623152a37531af56 Mon Sep 17 00:00:00 2001 From: Paulo Reis Date: Wed, 15 Jun 2016 10:48:40 +0100 Subject: [PATCH] Small styling enhancements. --- services/web/app/views/project/editor/pdf.jade | 2 ++ services/web/public/stylesheets/app/editor/pdf.less | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/services/web/app/views/project/editor/pdf.jade b/services/web/app/views/project/editor/pdf.jade index 135c05cb8a..90497b2eb0 100644 --- a/services/web/app/views/project/editor/pdf.jade +++ b/services/web/app/views/project/editor/pdf.jade @@ -3,8 +3,10 @@ div.full-size.pdf(ng-controller="PdfController") .btn-group( dropdown, tooltip="#{translate('recompile_pdf')} ({{modifierKey}} + Enter)" + tooltip-class="keyboard-tooltip" tooltip-popup-delay="500" tooltip-append-to-body="true" + tooltip-placement="bottom" ) a.btn.btn-info( href, diff --git a/services/web/public/stylesheets/app/editor/pdf.less b/services/web/public/stylesheets/app/editor/pdf.less index ed104a5c91..0560fac2a0 100644 --- a/services/web/public/stylesheets/app/editor/pdf.less +++ b/services/web/public/stylesheets/app/editor/pdf.less @@ -168,3 +168,7 @@ } } } + +.keyboard-tooltip { + white-space: nowrap; +} \ No newline at end of file