Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
feat(share/spreadsheet): collapse borders properly
Elian Doran17d5453c9586
diff --git a/packages/share-theme/src/styles/content.css b/packages/share-theme/src/styles/content.cssindex 2436842459..05d57490dc 100644--- a/packages/share-theme/src/styles/content.css+++ b/packages/share-theme/src/styles/content.css@@ -99,3 +99,16 @@ body.type-webView {background-color: var(--background-secondary);font-weight: bold;}++/* Spreadsheet (Univer) tables are emitted as a static <table> whose cells carry their+ own inline borders/fills. They live under #content.type-spreadsheet, not .ck-content,+ so the rule above does not reach them. Collapse the borders so adjacent cell borders+ merge into single lines instead of doubling across the default border-spacing gaps. */+.spreadsheet-table {+ border-collapse: collapse;+ width: auto;+}++.spreadsheet-table td {+ padding: 2px 4px;+}