Skip to content

Commit 3f4a4e3

Browse files
Merge pull request #116 from o5faruk/fix/fontSize
inherit font size inside wysiwyg
2 parents c5b7412 + 661ceda commit 3f4a4e3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

widget/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,14 @@
9696
word-break: break-word;
9797
}
9898

99+
#txt p span,
99100
#txt h1 span,
100101
#txt h2 span,
101102
#txt h3 span,
102103
#txt h4 span,
103104
#txt h5 span,
104105
#txt h6 span {
105-
font-size: inherit;
106+
font-size: inherit !important;
106107
}
107108

108109
</style>
@@ -545,6 +546,7 @@
545546
case 10:
546547
case 11:
547548
postitioning.innerHTML += `.layout${layout} .media-holder ${css}`
549+
postitioning.innerHTML += `.layout${layout} .media-holder-text span { justify-content: ${justifyContent} !important; }`
548550
break;
549551

550552
default:

0 commit comments

Comments
 (0)