Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Commit e9db2d6

Browse files
committed
fix align
1 parent 52c2f81 commit e9db2d6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/Table.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,6 @@ export function Table(tableData: TableDataType) {
428428
<div
429429
key={`div-add-row-cell-button-internal-table-tr`}
430430
className={`${c("tr")}`}
431-
style={{ display: "flex", justifyContent: "center" }}
432431
>
433432
<div
434433
key={`div-add-row-cell-button-internal-table-td-icon`}

styles.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,6 @@
275275
.database-plugin__add-row {
276276
color: var(--text-accent);
277277
padding: 0.5rem;
278-
display: -ms-inline-grid;
279278
align-items: center;
280279
font-size: 0.875rem;
281280
cursor: pointer;
@@ -292,6 +291,7 @@
292291
color: var(--text-muted);
293292
flex-direction: row;
294293
align-items: center;
294+
display: inline-grid;
295295
}
296296

297297
.database-plugin__th {
@@ -364,6 +364,7 @@
364364
border-spacing: 0;
365365
border-bottom: 1px solid var(--background-modifier-border);
366366
display: table;
367+
height: 1px; /** Hack to prevent collapsing of table cells */
367368
}
368369

369370
.database-plugin__th:last-child {

0 commit comments

Comments
 (0)