Skip to content

Commit 2d1e8e6

Browse files
authored
Merge pull request #59 from xsnippet/styles-ace
Fix for code area styles after moving to Ace
2 parents 6649b85 + 0c23e0b commit 2d1e8e6

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

src/styles/NewSnippet.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ lang-bar-width = 230px
2323
&-code
2424
flex: 1
2525
position: relative
26-
padding: 0 20px 63px 0
26+
padding: 0 0 63px 0
2727
&-wrapper
2828
display: flex
2929
flex-flow: column nowrap

src/styles/common/overwrite.styl

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,22 @@
11
@import './common/variables.styl'
22
@import './common/mixins.styl'
33

4-
.snippet .ace_gutter-layer
5-
width: 40px !important
4+
.snippet
5+
.ace_cursor
6+
display: none !important
7+
.ace_gutter
8+
&-layer
9+
width: 40px !important
10+
&-cell
11+
padding-right: 5px !important
12+
padding-left: 0
13+
.ace_scroller
14+
margin-left: 15px !important
15+
.ace_content
16+
width: calc(100% - 15px) !important
617

7-
.snippet .ace_cursor
8-
display: none !important
18+
.new-snippet .ace_editor
19+
min-height 100% !important
920

1021
.react-tags
1122
display: flex

0 commit comments

Comments
 (0)