Skip to content

Commit 8e3f668

Browse files
committed
Re-enabled text styling in Form Editor Text/HTML elements
1 parent fd50a3d commit 8e3f668

1 file changed

Lines changed: 76 additions & 0 deletions

File tree

builder-frontend/src/index.css

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,82 @@ body {
6161
display: none;
6262
}
6363

64+
.fjs-form-field.fjs-form-field-text :where(h1),
65+
.fjs-form-field.fjs-form-field-html :where(h1) {
66+
display: block;
67+
margin: 0.67em 0;
68+
font-size: 2em;
69+
font-weight: 700;
70+
line-height: 1.2;
71+
}
72+
73+
.fjs-form-field.fjs-form-field-text :where(h2),
74+
.fjs-form-field.fjs-form-field-html :where(h2) {
75+
display: block;
76+
margin: 0.83em 0;
77+
font-size: 1.5em;
78+
font-weight: 700;
79+
line-height: 1.25;
80+
}
81+
82+
.fjs-form-field.fjs-form-field-text :where(h3),
83+
.fjs-form-field.fjs-form-field-html :where(h3) {
84+
display: block;
85+
margin: 1em 0;
86+
font-size: 1.17em;
87+
font-weight: 700;
88+
line-height: 1.3;
89+
}
90+
91+
.fjs-form-field.fjs-form-field-text :where(h4),
92+
.fjs-form-field.fjs-form-field-html :where(h4) {
93+
display: block;
94+
margin: 1.33em 0;
95+
font-size: 1em;
96+
font-weight: 700;
97+
line-height: 1.35;
98+
}
99+
100+
.fjs-form-field.fjs-form-field-text :where(h5),
101+
.fjs-form-field.fjs-form-field-html :where(h5) {
102+
display: block;
103+
margin: 1.67em 0;
104+
font-size: 0.83em;
105+
font-weight: 700;
106+
line-height: 1.4;
107+
}
108+
109+
.fjs-form-field.fjs-form-field-text :where(h6),
110+
.fjs-form-field.fjs-form-field-html :where(h6) {
111+
display: block;
112+
margin: 2.33em 0;
113+
font-size: 0.67em;
114+
font-weight: 700;
115+
line-height: 1.4;
116+
}
117+
118+
.fjs-form-field.fjs-form-field-text :where(ul),
119+
.fjs-form-field.fjs-form-field-html :where(ul) {
120+
display: block;
121+
margin: 1em 0;
122+
padding-left: 1.5em;
123+
list-style-type: disc;
124+
}
125+
126+
.fjs-form-field.fjs-form-field-text :where(ol),
127+
.fjs-form-field.fjs-form-field-html :where(ol) {
128+
display: block;
129+
margin: 1em 0;
130+
padding-left: 1.5em;
131+
list-style-type: decimal;
132+
}
133+
134+
.fjs-form-field.fjs-form-field-text :where(li),
135+
.fjs-form-field.fjs-form-field-html :where(li) {
136+
display: list-item;
137+
margin: 0.25em 0;
138+
}
139+
64140
body {
65141
font-family: "IBM Plex Sans", sans-serif;
66142
}

0 commit comments

Comments
 (0)