Skip to content
This repository has been archived by the owner on Apr 24, 2021. It is now read-only.

Commit

Permalink
Adjust padding in cljs so it doesn't affect build pane
Browse files Browse the repository at this point in the history
  • Loading branch information
oakes committed Dec 21, 2019
1 parent d9a7a65 commit 845208a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 0 additions & 2 deletions resources/public/paren-soup-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@
.paren-soup .content {
margin: 0px;
padding: 0px 5px;
padding-bottom: 20px;
padding-right: 20px;
outline: 0px solid transparent;
white-space: pre;
word-wrap: normal;
Expand Down
2 changes: 0 additions & 2 deletions resources/public/paren-soup-light.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@
.paren-soup .content {
margin: 0px;
padding: 0px 5px;
padding-bottom: 20px;
padding-right: 20px;
outline: 0px solid transparent;
white-space: pre;
word-wrap: normal;
Expand Down
6 changes: 3 additions & 3 deletions resources/public/paren-soup.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/cljs/nightcode/paren_soup.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@
(let [paren-soup (.querySelector js/document "#paren-soup")
content (.querySelector js/document "#content")
_ (-> content .-style .-whiteSpace (set! "pre"))
_ (-> content .-style .-paddingBottom (set! "20px"))
_ (-> content .-style .-paddingRight (set! "20px"))
editor (p/init paren-soup
(clj->js {:before-change-callback
(fn [e]
Expand Down Expand Up @@ -127,6 +129,8 @@
(let [paren-soup (.querySelector js/document "#paren-soup")
content (.querySelector js/document "#content")
_ (-> content .-style .-whiteSpace (set! "pre"))
_ (-> content .-style .-paddingBottom (set! "20px"))
_ (-> content .-style .-paddingRight (set! "20px"))
editor (p/init paren-soup
(clj->js {:before-change-callback
(fn [e]
Expand Down

0 comments on commit 845208a

Please sign in to comment.