Skip to content

Commit 4c33642

Browse files
author
Madeline Trotter
committed
Fix Clip line-height
1 parent 05215f8 commit 4c33642

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Lumi/Components2/Clip.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ exports.copyNodeContents = (success, failure, node) => {
1414
const sel = selectNodeContents(node);
1515
if (window.navigator.clipboard != null) {
1616
window.navigator.clipboard
17-
.writeText(sel.toString())
17+
.writeText(sel.toString().trim())
1818
.then(() => {
1919
sel.removeAllRanges();
2020
})

src/Lumi/Components2/Clip.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ clip =
4848
( E.merge
4949
[ E.css
5050
{ marginLeft: E.prop S16
51-
, lineHeight: E.str "12px"
51+
, lineHeight: E.str "1.2"
5252
}
5353
, guard copied do
5454
E.css

0 commit comments

Comments
 (0)