From 8f899fca7286b076db7551fbbfd4434cf4b561e8 Mon Sep 17 00:00:00 2001 From: "Sam X. Chen" Date: Thu, 25 Jul 2019 16:26:33 -0400 Subject: Add Feature: User can have richer formatted text into the comments (unexpected theme changes fixed) --- client/components/main/editor.js | 3 ++- client/components/main/layouts.styl | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/client/components/main/editor.js b/client/components/main/editor.js index 0a6db12c..98461c4f 100755 --- a/client/components/main/editor.js +++ b/client/components/main/editor.js @@ -1,6 +1,7 @@ Template.editor.onRendered(() => { const textareaSelector = 'textarea'; - const enableRicherEditor = Meteor.settings.public.RICHER_EDITOR || true; + const enableRicherEditor = + Meteor.settings.public.RICHER_CARD_COMMENT_EDITOR || true; const mentions = [ // User mentions { diff --git a/client/components/main/layouts.styl b/client/components/main/layouts.styl index dafff251..672e4520 100644 --- a/client/components/main/layouts.styl +++ b/client/components/main/layouts.styl @@ -9,6 +9,28 @@ global-reset() .note-popover .popover-content .note-color-palette div .note-color-btn, .panel-heading.note-toolbar .note-color-palette div .note-color-btn background: none +a:focus + outline: unset + outline-offset: unset + +a:hover,a:focus + color: unset + text-decoration: unset + +.badge + display: unset + min-width: unset + padding: unset + font-size: unset + font-weight: unset + line-height: unset + color: unset + text-align: unset + white-space: unset + vertical-align: unset + background-color: unset + border-radius: unset + html, body, input, select, textarea, button font: 14px Roboto, "Helvetica Neue", Arial, Helvetica, sans-serif line-height: 18px -- cgit v1.2.3-1-g7c22