summaryrefslogtreecommitdiffstats
path: root/client/components/main
diff options
context:
space:
mode:
authorSam X. Chen <sam.xi.chen@gmail.com>2019-07-25 16:26:33 -0400
committerSam X. Chen <sam.xi.chen@gmail.com>2019-07-25 16:26:33 -0400
commit8f899fca7286b076db7551fbbfd4434cf4b561e8 (patch)
tree71567b2189522f382c5434731d2cdeb6297a1777 /client/components/main
parenta5c1395c46a2682f4e9c2cb1f2b36dd6aa930151 (diff)
downloadwekan-8f899fca7286b076db7551fbbfd4434cf4b561e8.tar.gz
wekan-8f899fca7286b076db7551fbbfd4434cf4b561e8.tar.bz2
wekan-8f899fca7286b076db7551fbbfd4434cf4b561e8.zip
Add Feature: User can have richer formatted text into the comments (unexpected theme changes fixed)
Diffstat (limited to 'client/components/main')
-rwxr-xr-xclient/components/main/editor.js3
-rw-r--r--client/components/main/layouts.styl22
2 files changed, 24 insertions, 1 deletions
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