File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ Tippy popups that are appended to document.body directly
109109 padding
110110} */
111111
112- .ProseMirror .tableWrapper {
112+ .bn-editor [ data-content-type = "table" ] .tableWrapper {
113113 position : relative;
114114 top : -16px ;
115115 left : -16px ;
@@ -119,25 +119,25 @@ Tippy popups that are appended to document.body directly
119119 overflow-y : hidden;
120120}
121121
122- .ProseMirror .tableWrapper-inner {
122+ .bn-editor [ data-content-type = "table" ] .tableWrapper-inner {
123123 /* position: relative; */
124124 /* top: -16px;
125125 left: -16px; */
126126 padding : 16px ;
127127}
128128
129129/* table related: */
130- .bn-editor table {
130+ .bn-editor [ data-content-type = "table" ] table {
131131 width : auto !important ;
132132 word-break : break-word;
133133}
134- .bn-editor th ,
135- .bn-editor td {
134+ .bn-editor [ data-content-type = "table" ] th ,
135+ .bn-editor [ data-content-type = "table" ] td {
136136 border : 1px solid # ddd ;
137137 padding : 3px 5px ;
138138}
139139
140- .bn-editor th {
140+ .bn-editor [ data-content-type = "table" ] th {
141141 font-weight : bold;
142142 text-align : left;
143143}
You can’t perform that action at this time.
0 commit comments