From 01d0147ef5a9a0b5087ed5c908258ae228a1b83c Mon Sep 17 00:00:00 2001 From: kimsible Date: Sat, 21 Nov 2020 23:35:58 +0100 Subject: Add tooltip to maximize button and remove grey background --- .../shared-forms/markdown-textarea.component.scss | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'client/src/app/shared/shared-forms/markdown-textarea.component.scss') diff --git a/client/src/app/shared/shared-forms/markdown-textarea.component.scss b/client/src/app/shared/shared-forms/markdown-textarea.component.scss index 39e72b5bc..fcddfea03 100644 --- a/client/src/app/shared/shared-forms/markdown-textarea.component.scss +++ b/client/src/app/shared/shared-forms/markdown-textarea.component.scss @@ -42,8 +42,20 @@ $input-border-radius: 3px; display: none !important; } - .grey-button { - padding: 0 7px 0 12px; + .maximize-button { + padding: 0 7px; + cursor: pointer; + + svg { + stroke: var(--mainForegroundColor); + opacity: 0.6; + } + + &:hover, &:active { + svg { + opacity: 1; + } + } } } } @@ -77,7 +89,7 @@ $input-border-radius: 3px; opacity: .7; } - .grey-button { + .maximize-button { margin-left: 5px; } } -- cgit v1.2.3