Skip to content
This repository was archived by the owner on Jun 15, 2022. It is now read-only.

Commit 9b91f45

Browse files
committed
Merge branch 'dagjaneiro-split-same-size'
2 parents bf29b40 + 9a4c00d commit 9b91f45

File tree

4 files changed

+25
-12
lines changed

4 files changed

+25
-12
lines changed

app/stylesheets/main.scss

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@import '~highlightjs_css';
22

33
body, html {
4-
font-family: sans-serif;
4+
font-family: var(--sn-stylekit-sans-serif-font);
55
height: 100%;
66
width: 100%;
77
margin: 0;
@@ -27,6 +27,10 @@ body, html {
2727

2828
background-color: var(--sn-stylekit-editor-background-color);
2929
color: var(--sn-stylekit-editor-foreground-color);
30+
31+
.sk-label {
32+
width: 48px;
33+
}
3034
}
3135

3236
#editor-container {
@@ -41,13 +45,14 @@ body, html {
4145
color: var(--sn-stylekit-editor-foreground-color);
4246
font-size: var(--sn-stylekit-font-size-editor);
4347
-webkit-overflow-scrolling: touch;
48+
font-family: var(--sn-stylekit-sans-serif-font);
4449

4550
&.edit {
4651
width: 100% !important;
4752
}
4853

4954
&.split {
50-
width: calc(50% - 20px);
55+
width: calc(50% - 4px);
5156
}
5257

5358
&.preview {
@@ -78,9 +83,13 @@ body, html {
7883
}
7984

8085
#preview {
81-
padding: 10px;
86+
padding: 12px;
8287
padding-top: 0;
83-
padding-left: 16px;
88+
font-family: var(--sn-stylekit-sans-serif-font);
89+
90+
// To align top with textarea.
91+
margin-top: -4px;
92+
8493
-webkit-overflow-scrolling: touch;
8594

8695
background-color: var(--sn-stylekit-background-color);
@@ -93,7 +102,7 @@ body, html {
93102
}
94103

95104
&.split {
96-
width: calc(50% - 20px);
105+
width: calc(50% - 4px);
97106
}
98107

99108
&.preview {

dist/dist.css

Lines changed: 9 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dist.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dist.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)