fix: readable tables in notes and articles; public pages 48rem wide (v2.18.2)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
PhilandClaude Opus 5.5 committed 2026-11-12 13:22:43 -07:00
1 parent 7158713a2a
commit 41c373f46c
3 files changed
+23 -3

No files matched your search

+13
View File
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [2.18.2] - 2026-11-12
### Fixed
- Tables in notes and articles: words in cells were split mid-word (a narrow
first column read "Colo/r", "Blac/k") and cells had no padding or left
alignment. Tables now keep words whole and render as a framed card: rounded
border, shaded header row, sans-serif text, bold first column. They size to
their content and scroll sideways on narrow screens.
### Changed
- Public pages are wider: 48rem instead of 40rem (about 85 characters per
line at the reading font). Admin pages stay at 60rem.
## [2.18.1] - 2026-11-12
### Changed
+2 -2
View File
@@ -468,5 +468,5 @@ def create_app(config=None):
# Package version (Semantic Versioning 2.0.0)
# See docs/standards/versioning-strategy.md for details
__version__ = "2.18.1"
__version_info__ = (2, 18, 1)
__version__ = "2.18.2"
__version_info__ = (2, 18, 2)
+8 -1
View File
@@ -8,7 +8,7 @@
--font-reading: Charter, 'Bitstream Charter', 'Sitka Text', Cambria, 'Noto Serif', Georgia, serif;
--font-mono: ui-monospace, 'SF Mono', Monaco, Consolas, 'Liberation Mono', monospace;
--spacing-xs: 0.25rem; --spacing-sm: 0.5rem; --spacing-md: 1rem; --spacing-lg: 2rem; --spacing-xl: 4rem;
--max-width: 40rem; --border-radius: 6px;
--max-width: 48rem; --border-radius: 6px;
}
@media (prefers-color-scheme: dark) {
@@ -91,6 +91,13 @@ main { flex: 1; margin-bottom: var(--spacing-xl); }
.e-content blockquote { margin: 0 0 var(--spacing-md); padding-left: var(--spacing-md); border-left: 3px solid var(--color-border); color: var(--color-text-light); }
.e-content ul, .e-content ol { margin: 0 0 var(--spacing-md) 1.25rem; }
.e-content img { max-width: 100%; height: auto; }
/* Tables (v2.18.2): shrink to their content, scroll sideways when wider than
the column, and never split words (the overflow-wrap: anywhere above is for
long URLs in prose; in a cell it squeezed columns to a few letters). */
.e-content table { display: block; width: max-content; max-width: 100%; overflow-x: auto; border-collapse: separate; border-spacing: 0; border: 1px solid var(--color-border); border-radius: var(--border-radius); margin: 0 0 var(--spacing-md); font-family: var(--font-body); font-size: 1rem; line-height: 1.55; }
.e-content th, .e-content td { padding: 0.75rem 1rem; text-align: left; vertical-align: top; overflow-wrap: normal; }
.e-content th { font-weight: 600; white-space: nowrap; background: var(--color-bg-alt); }
.e-content td:first-child { font-weight: 600; }
.e-content h1, .e-content h2, .e-content h3 { font-family: var(--font-body); }
.reaction { margin-bottom: var(--spacing-sm); font-size: 0.9375rem; color: var(--color-text-light); overflow-wrap: anywhere; }
.reaction-verb { font-weight: 600; margin-right: 0.25rem; }