Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

Fix table

Smaug6739ef5d0d292b40
diff --git a/frontend/components/DataTable.vue b/frontend/components/DataTable.vue
index 25d554c2..decf3dfe 100644
--- a/frontend/components/DataTable.vue
+++ b/frontend/components/DataTable.vue
@@ -119,6 +119,7 @@ table {
border-collapse: collapse;
table-layout: auto;
border-color: inherit;
+ display: table;
}
th,
diff --git a/frontend/styles/theme.scss b/frontend/styles/theme.scss
index 29aeb93e..f1fe0585 100644
--- a/frontend/styles/theme.scss
+++ b/frontend/styles/theme.scss
@@ -167,6 +167,7 @@ table {
overflow-x: auto;
display: block; // Add this line to make the table scrollable
width: 100%;
+ min-width: 400px;
position: relative;
thead {
@@ -176,7 +177,6 @@ table {
th,
td {
padding: 10px 15px;
- width: fit-content;
}
tbody tr {