File tree 2 files changed +12
-24
lines changed
packages/web/src/javascripts/Components/SuperEditor/Lexical/Theme
2 files changed +12
-24
lines changed Original file line number Diff line number Diff line change 23
23
hr {
24
24
padding : 2px 0px ;
25
25
border : none ;
26
- margin : 0.825 em 0 ;
26
+ margin : 1 em 0 ;
27
27
cursor : pointer ;
28
28
}
29
29
40
40
user-select : none ;
41
41
}
42
42
}
43
-
44
- .ContentEditable__root ,
45
- .Collapsible__content {
46
- > * :not (:first-child ) {
47
- margin-block-start : 0.825em ;
48
- }
49
-
50
- // Remove extra margin around empty paragraphs
51
- .Lexical__paragraph :has (br :first-child ) {
52
- margin-block-start : 0 ;
53
-
54
- & + * {
55
- margin-block-start : 0 ;
56
- }
57
- }
58
-
59
- .Lexical__listItem {
60
- margin-block-end : 0.325em ;
61
- }
62
- }
Original file line number Diff line number Diff line change 7
7
text-align : right ;
8
8
}
9
9
.Lexical__paragraph {
10
+ margin : 0 ;
10
11
position : relative ;
11
12
}
12
13
.Lexical__quote {
14
+ margin : 0 ;
13
15
margin-left : 20px ;
16
+ margin-bottom : 10px ;
14
17
color : var (--sn-stylekit-passive-color-1 );
15
18
border-left-color : var (--sn-stylekit-passive-color-1 );
16
19
border-left-width : 4px ;
28
31
}
29
32
}
30
33
.Lexical__h1 {
31
- font-size : 1.75 em ;
34
+ font-size : 26 px ;
32
35
color : var (--sn-stylekit-editor-foreground-color );
33
36
font-weight : 700 ;
37
+ margin : 0 ;
34
38
}
35
39
.Lexical__h2 {
36
- font-size : 1.5 em ;
40
+ font-size : 22 px ;
37
41
color : var (--sn-stylekit-editor-foreground-color );
38
42
font-weight : 700 ;
43
+ margin : 0 ;
39
44
}
40
45
.Lexical__h3 {
41
- font-size : 1.3 em ;
46
+ font-size : 19 px ;
42
47
font-weight : 700 ;
48
+ margin : 0 ;
43
49
}
44
50
.Lexical__textBold {
45
51
font-weight : bold ;
88
94
font-family : var (--sn-stylekit-monospace-font ), monospace ;
89
95
display : block ;
90
96
padding : 1.25rem 1.35rem ;
97
+ margin : 0.5rem 0 ;
91
98
tab-size : 2 ;
92
99
overflow-x : auto ;
93
100
position : relative ;
105
112
overflow-y : scroll ;
106
113
table-layout : fixed ;
107
114
width : calc (100% - 25px );
115
+ margin : 0.5rem 0 ;
108
116
color : var (--sn-stylekit-contrast-foreground-color );
109
117
}
110
118
.Lexical__tableSelection * ::selection {
You can’t perform that action at this time.
0 commit comments