Skip to content

Commit

Permalink
fix: font-size and pre tag design
Browse files Browse the repository at this point in the history
  • Loading branch information
vinkla committed Mar 17, 2019
1 parent 32d7710 commit 9c57151
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
6 changes: 4 additions & 2 deletions styles/atom-ide-signature-help-marked.less
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
}
}
9 changes: 8 additions & 1 deletion styles/atom-ide-signature-help.less
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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%);
}
Expand Down

0 comments on commit 9c57151

Please sign in to comment.