mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-24 03:23:10 +00:00
Better support for larger text in keyboard tooltips.
This commit is contained in:
parent
a5abc7392d
commit
e891a47a9e
2 changed files with 7 additions and 1 deletions
|
@ -2,7 +2,7 @@ div.full-size.pdf(ng-controller="PdfController")
|
|||
.toolbar.toolbar-tall
|
||||
.btn-group(
|
||||
dropdown,
|
||||
tooltip="#{translate('recompile_pdf')} ({{modifierKey}} + Enter)"
|
||||
tooltip-html="'#{translate('recompile_pdf')} <span class=\"keyboard-shortcut\">({{modifierKey}} + Enter)</span>'"
|
||||
tooltip-class="keyboard-tooltip"
|
||||
tooltip-popup-delay="500"
|
||||
tooltip-append-to-body="true"
|
||||
|
|
|
@ -170,5 +170,11 @@
|
|||
}
|
||||
|
||||
.keyboard-tooltip {
|
||||
.tooltip-inner {
|
||||
max-width: none;
|
||||
}
|
||||
}
|
||||
|
||||
.keyboard-shortcut {
|
||||
white-space: nowrap;
|
||||
}
|
Loading…
Reference in a new issue