File tree Expand file tree Collapse file tree 1 file changed +6
-14
lines changed Expand file tree Collapse file tree 1 file changed +6
-14
lines changed Original file line number Diff line number Diff line change @@ -148,25 +148,17 @@ Tippy popups that are appended to document.body directly
148
148
transition : all 0.2s ;
149
149
}
150
150
151
- /* .tableWrapper {
152
- padding
153
- } */
154
-
155
151
.bn-editor [data-content-type = "table" ] .tableWrapper {
156
- position : relative;
157
- top : -16px ;
158
- left : -16px ;
159
- /* padding: 16px; */
160
- min-width : calc (100% + 16px );
161
- padding-bottom : 16px ;
152
+ /* Size of + buttons to add rows/columns. */
153
+ --bn-table-widget-size : 22px ;
162
154
overflow-y : hidden;
155
+ padding-bottom : var (--bn-table-widget-size );
156
+ position : relative;
157
+ width : 100% ;
163
158
}
164
159
165
160
.bn-editor [data-content-type = "table" ] .tableWrapper-inner {
166
- /* position: relative; */
167
- /* top: -16px;
168
- left: -16px; */
169
- padding : 16px ;
161
+ width : calc (100% - var (--bn-table-widget-size ));
170
162
}
171
163
172
164
/* table related: */
You can’t perform that action at this time.
0 commit comments