This repository was archived by the owner on Jul 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +26
-6
lines changed
Expand file tree Collapse file tree 2 files changed +26
-6
lines changed Original file line number Diff line number Diff line change @@ -421,14 +421,34 @@ export function Table(tableData: TableDataType) {
421421 className = { `${ c ( "td" ) } ` }
422422 onClick = { handleAddNewRow }
423423 >
424- < span className = "svg-icon svg-gray" style = { { marginRight : 4 } } >
425- < PlusIcon />
426- </ span >
427- New
424+ < div
425+ key = { `div-add-row-cell-button-internal-table` }
426+ className = { `${ c ( "table" ) } ` }
427+ >
428+ < div
429+ key = { `div-add-row-cell-button-internal-table-tr` }
430+ className = { `${ c ( "tr" ) } ` }
431+ >
432+ < div
433+ key = { `div-add-row-cell-button-internal-table-td-icon` }
434+ className = { `${ c ( "td" ) } ` }
435+ >
436+ < span className = "svg-icon svg-gray" style = { { marginRight : 8 } } >
437+ < PlusIcon />
438+ </ span >
439+ </ div >
440+ < div
441+ key = { `div-add-row-cell-button-internal-table-td-text` }
442+ className = { `${ c ( "td" ) } ` }
443+ >
444+ New
445+ </ div >
446+ </ div >
447+ </ div >
428448 </ div >
429449 < div
430450 key = { `div-add-row-cell-padding-left` }
431- className = { `${ c ( "padding-left" ) } ` }
451+ className = { `${ c ( "td padding-left" ) } ` }
432452 >
433453 < Select
434454 styles = { CustomTemplateSelectorStyles }
Original file line number Diff line number Diff line change 275275.database-plugin__add-row {
276276 color : var (--text-accent );
277277 padding : 0.5rem ;
278- display : table-row;
279278 align-items : center;
280279 font-size : 0.875rem ;
281280 cursor : pointer;
292291 color : var (--text-muted );
293292 flex-direction : row;
294293 align-items : center;
294+ display : inline-grid;
295295}
296296
297297.database-plugin__th {
You can’t perform that action at this time.
0 commit comments