Skip to content

Commit af24126

Browse files
committed
Reverts the line-height changes.
1 parent 2d54c69 commit af24126

File tree

2 files changed

+30
-11
lines changed

2 files changed

+30
-11
lines changed

LICENSE.txt

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Permission is hereby granted, free of charge, to any
2+
person obtaining a copy of this software and associated
3+
documentation files (the "Software"), to deal in the
4+
Software without restriction, including without
5+
limitation the rights to use, copy, modify, merge,
6+
publish, distribute, sublicense, and/or sell copies of
7+
the Software, and to permit persons to whom the Software
8+
is furnished to do so, subject to the following
9+
conditions:
10+
11+
The above copyright notice and this permission notice
12+
shall be included in all copies or substantial portions
13+
of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
16+
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
17+
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
18+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
19+
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
22+
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23+
DEALINGS IN THE SOFTWARE.

edit-frontend/styles/edit.scss

+7-11
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ body.theme-column .edit-text {
127127
}
128128

129129
.edit-text {
130-
padding: 67px 30px 50px; // + bottom padding for footer
130+
padding: 54px 30px 50px; // + bottom padding for footer
131131
margin: 0;
132132

133133
-webkit-touch-callout: none;
@@ -143,7 +143,7 @@ body.theme-column .edit-text {
143143
white-space: pre-wrap;
144144

145145
div {
146-
line-height: 2.3;
146+
margin: 12px 0;
147147
position: relative;
148148
min-height: 14px;
149149
}
@@ -235,13 +235,13 @@ body.theme-column .edit-text {
235235
div[data-tag="h1"] {
236236
font-size: 2.0em;
237237
font-weight: bold;
238-
line-height: 2.0;
238+
margin-top: 20px;
239239
}
240240

241241
div[data-tag="h2"] {
242242
font-size: 1.5em;
243243
font-weight: bold;
244-
line-height: 2.0;
244+
margin-top: 16px;
245245
}
246246

247247
div[data-tag="h3"] {
@@ -286,15 +286,11 @@ body.theme-column .edit-text {
286286
list-style: disc outside none;
287287
display: list-item;
288288
margin-left: 25px;
289-
290-
&, div {
291-
line-height: 2.0;
292-
}
293289
}
294290

295-
// div[data-tag="bullet"] + div[data-tag="bullet"] {
296-
// margin-top: -5px;
297-
// }
291+
div[data-tag="bullet"] + div[data-tag="bullet"] {
292+
margin-top: -5px;
293+
}
298294
}
299295

300296
// Multi client

0 commit comments

Comments
 (0)