From 842176e9079794e71942f9398c226d1ea0634c0d Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 21 Feb 2016 22:05:50 +0100 Subject: Update styles on sans-angular Get styles to be the same as the mainline version with the textarea instead of a `contenteditable` div. --- app/assets/stylesheets/components/type.scss | 4 ++++ app/assets/stylesheets/layouts/_global.scss | 20 +++++++++++++++++++- 2 files changed, 23 insertions(+), 1 deletion(-) (limited to 'app/assets') diff --git a/app/assets/stylesheets/components/type.scss b/app/assets/stylesheets/components/type.scss index 7e8fc05..d4e4ecf 100644 --- a/app/assets/stylesheets/components/type.scss +++ b/app/assets/stylesheets/components/type.scss @@ -3,6 +3,10 @@ } +.font-size-16 { + font-size: 16px; +} + .font-size-28 { font-size: 28px; } diff --git a/app/assets/stylesheets/layouts/_global.scss b/app/assets/stylesheets/layouts/_global.scss index 5113083..2873b13 100644 --- a/app/assets/stylesheets/layouts/_global.scss +++ b/app/assets/stylesheets/layouts/_global.scss @@ -37,6 +37,20 @@ body { } +.border-none { + border: none; +} + + +.outline-none { + outline: none; +} + + +.width-100\% { + width: 100%; +} + .min-height-100\% { min-height: 100%; } @@ -117,8 +131,12 @@ $sidebar-width: 250px; .note-editor { margin-left: $sidebar-width; padding: 12px 15px; - font: 18px/1.7 Georgia, Times, serif; outline: none; + + textarea { + font: 18px/1.7 Georgia, Times, serif; + height: 480px; + } } -- cgit v1.2.3