Skip to content

Commit 76f7861

Browse files
committed
Reset ckeditor content styles on product website view page
1 parent ef7071c commit 76f7861

File tree

1 file changed

+32
-8
lines changed

1 file changed

+32
-8
lines changed

resources/css/app.css

Lines changed: 32 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,42 @@ body {
3838
background-color: #e5e7eb;
3939
}
4040

41-
.wysiwyg-content h3,
42-
.wysiwyg-content h4 {
43-
font-weight: 600;
44-
margin-top: 1rem;
41+
42+
.wysiwyg-content > blockquote,
43+
.wysiwyg-content > dl,
44+
.wysiwyg-content > dd,
45+
.wysiwyg-content > h1,
46+
.wysiwyg-content > h2,
47+
.wysiwyg-content > h3,
48+
.wysiwyg-content > h4,
49+
.wysiwyg-content > h5,
50+
.wysiwyg-content > h6,
51+
.wysiwyg-content > hr,
52+
.wysiwyg-content > figure,
53+
.wysiwyg-content > p,
54+
.wysiwyg-content > pre {
55+
margin: revert;
56+
}
57+
58+
.wysiwyg-content > ol,
59+
.wysiwyg-content > ul {
60+
list-style: revert;
61+
margin: revert;
62+
padding: revert;
4563
}
4664

47-
.wysiwyg-content table > tbody > tr > td {
48-
padding: 0.25rem 0.125rem;
65+
.wysiwyg-content > table {
66+
border-collapse: revert;
4967
}
5068

51-
.wysiwyg-content table > tbody > tr > td:first-child {
52-
font-weight: bold;
69+
.wysiwyg-content > h1,
70+
.wysiwyg-content > h2,
71+
.wysiwyg-content > h3,
72+
.wysiwyg-content > h4,
73+
.wysiwyg-content > h5,
74+
.wysiwyg-content > h6 {
75+
font-size: revert;
76+
font-weight: revert;
5377
}
5478

5579
.table > tbody > tr > td,

0 commit comments

Comments
 (0)