Skip to content

Commit

Permalink
Tweak editor styles.
Browse files Browse the repository at this point in the history
  • Loading branch information
flachware committed Mar 16, 2017
1 parent 6cb83e7 commit bc8ce05
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
8 changes: 8 additions & 0 deletions src/stylesheets/abstracts/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,14 @@ $progress-bar-height: $space-min;
$notepad-min-height: #{const("NOTEPAD.MIN_HEIGHT")}px;


// Editor
// --------------------------------------------------

$editor-font-size: 22px;
$editor-line-height: 1.6;
$prose-mirror-padding-top: $editor-font-size / 2;


// Debug
// --------------------------------------------------

Expand Down
9 changes: 7 additions & 2 deletions src/stylesheets/components/editor/_view.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@
flex: 1 1 0;
width: 80%;
margin: auto;
font-size: 18px;
line-height: 1.6;
font-size: $editor-font-size;
line-height: $editor-line-height;
max-width: 800px;
padding-top: $prose-mirror-padding-top;

* {
margin: 0;
}
}

0 comments on commit bc8ce05

Please sign in to comment.