@squiz/formatted-text-editor 1.40.1-alpha.11 → 1.40.1-alpha.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.css +6 -2
- package/package.json +4 -4
- package/src/ui/_typography.scss +6 -2
package/lib/index.css
CHANGED
@@ -643,6 +643,10 @@
|
|
643
643
|
color: rgb(7 116 210 / var(--tw-text-opacity));
|
644
644
|
text-decoration: underline;
|
645
645
|
}
|
646
|
+
.squiz-fte-scope .remirror-editor p {
|
647
|
+
-webkit-margin-after: 0.8rem;
|
648
|
+
margin-block-end: 0.8rem;
|
649
|
+
}
|
646
650
|
.squiz-fte-scope .remirror-editor h1 {
|
647
651
|
font-size: 1.625rem;
|
648
652
|
font-weight: 600;
|
@@ -709,14 +713,14 @@
|
|
709
713
|
padding-top: 0.75rem;
|
710
714
|
padding-bottom: 0.75rem;
|
711
715
|
}
|
712
|
-
.squiz-fte-scope .remirror-editor ul
|
716
|
+
.squiz-fte-scope .remirror-editor ul,
|
717
|
+
.squiz-fte-scope .remirror-editor ol {
|
713
718
|
list-style-type: disc;
|
714
719
|
padding: 0 0 0 2.5rem;
|
715
720
|
margin: 1rem 0;
|
716
721
|
}
|
717
722
|
.squiz-fte-scope .remirror-editor ol {
|
718
723
|
list-style-type: decimal;
|
719
|
-
padding: 0 0 0 1rem;
|
720
724
|
}
|
721
725
|
.squiz-fte-scope .squiz-fte-form-group {
|
722
726
|
display: flex;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@squiz/formatted-text-editor",
|
3
|
-
"version": "1.40.1-alpha.
|
3
|
+
"version": "1.40.1-alpha.13",
|
4
4
|
"main": "lib/index.js",
|
5
5
|
"types": "lib/index.d.ts",
|
6
6
|
"scripts": {
|
@@ -20,8 +20,8 @@
|
|
20
20
|
"@headlessui/react": "1.7.11",
|
21
21
|
"@mui/icons-material": "5.11.16",
|
22
22
|
"@remirror/react": "2.0.25",
|
23
|
-
"@squiz/dx-json-schema-lib": "1.40.1-alpha.
|
24
|
-
"@squiz/resource-browser": "1.40.1-alpha.
|
23
|
+
"@squiz/dx-json-schema-lib": "1.40.1-alpha.13",
|
24
|
+
"@squiz/resource-browser": "1.40.1-alpha.13",
|
25
25
|
"clsx": "1.2.1",
|
26
26
|
"react-hook-form": "7.43.2",
|
27
27
|
"react-image-size": "2.0.0",
|
@@ -75,5 +75,5 @@
|
|
75
75
|
"volta": {
|
76
76
|
"node": "18.15.0"
|
77
77
|
},
|
78
|
-
"gitHead": "
|
78
|
+
"gitHead": "a933707fa72d8341972fac24e2a708f2352f0c3a"
|
79
79
|
}
|
package/src/ui/_typography.scss
CHANGED
@@ -5,6 +5,10 @@
|
|
5
5
|
text-decoration: underline;
|
6
6
|
}
|
7
7
|
|
8
|
+
p {
|
9
|
+
margin-block-end: 0.8rem;
|
10
|
+
}
|
11
|
+
|
8
12
|
h1 {
|
9
13
|
font-size: 1.625rem;
|
10
14
|
font-weight: 600;
|
@@ -73,7 +77,8 @@
|
|
73
77
|
}
|
74
78
|
}
|
75
79
|
|
76
|
-
ul
|
80
|
+
ul,
|
81
|
+
ol {
|
77
82
|
list-style-type: disc;
|
78
83
|
padding: 0 0 0 2.5rem;
|
79
84
|
margin: 1rem 0;
|
@@ -81,6 +86,5 @@
|
|
81
86
|
|
82
87
|
ol {
|
83
88
|
list-style-type: decimal;
|
84
|
-
padding: 0 0 0 1rem;
|
85
89
|
}
|
86
90
|
}
|