Skip to content

Commit b1577aa

Browse files
committed
Applied changes to all elements not a restricted set.
1 parent 93c20f6 commit b1577aa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

scripts/text-adaptation.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727
function initMyBookmarklet() {
2828
(window.myBookmarklet = function() {
2929

30-
// Spacing
31-
var wordElements = $('p, li, h1, h2, h3, h4, h5, h6');
30+
31+
// var wordElements = $('p, li, h1, h2, h3, h4, h5, h6');
3232

33-
$(wordElements).css("line-height", "1.5");
33+
$("*").css("line-height", "1.5");
3434
$('p').css("margin-bottom", "2em");
35-
$(wordElements).css("letter-spacing", "0.12em");
36-
$(wordElements).css("word-spacing", "0.16em");
35+
$("*").css("letter-spacing", "0.12em");
36+
$("*").css("word-spacing", "0.16em");
3737

3838
})();
3939
}

0 commit comments

Comments
 (0)