From 9c57151a4d3871662159bc7b25c9aabe21dd50b8 Mon Sep 17 00:00:00 2001 From: Vincent Klaiber Date: Sun, 17 Mar 2019 18:16:05 +0100 Subject: [PATCH] fix: font-size and pre tag design --- styles/atom-ide-signature-help-marked.less | 6 ++++-- styles/atom-ide-signature-help.less | 9 ++++++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/styles/atom-ide-signature-help-marked.less b/styles/atom-ide-signature-help-marked.less index 0ac3b2d..b722256 100644 --- a/styles/atom-ide-signature-help-marked.less +++ b/styles/atom-ide-signature-help-marked.less @@ -8,7 +8,7 @@ .datatip-marked-container { color: @syntax-text-color; font-family: var(--editor-font-family); - font-size: max(var(--editor-font-size), 0.9rem); + font-size: var(--editor-font-size); max-width: 750px; overflow: auto; padding: 8px; @@ -24,6 +24,8 @@ } pre { font-family: var(--editor-font-family); - font-size: max(var(--editor-font-size), 0.9rem); + font-size: var(--editor-font-size); + margin-bottom: 8px; + border-radius: 0; } } diff --git a/styles/atom-ide-signature-help.less b/styles/atom-ide-signature-help.less index eb91193..22afd7b 100644 --- a/styles/atom-ide-signature-help.less +++ b/styles/atom-ide-signature-help.less @@ -12,6 +12,13 @@ pointer-events: all; max-width: 800px; overflow: none; + + p { + margin-left: 8px; + margin-right: 8px; + + &:last-child { margin-bottom: 8px; } + } } .datatip-overlay { @@ -30,7 +37,7 @@ padding: 8px; white-space: pre-wrap; font-family: var(--editor-font-family); - font-size: max(var(--editor-font-size), 0.9rem); + font-size: var(--editor-font-size); &:hover { background-color: mix(@syntax-background-color, @syntax-selection-color, 50%); }