diff --git a/CHANGELOG.md b/CHANGELOG.md index 46e4005..9abf547 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.6.7] - 2026-11-02 + +### Fixed + +- Admin pages were misaligned: the notes table ran past the right edge of the header and admin menu, because every page sat in the 40rem reading column and the table couldn't shrink to fit it. Admin pages now use a 60rem frame for the header, menu, content and footer alike, long post previews wrap, and on narrow screens tables scroll sideways instead of spilling out + ## [2.6.6] - 2026-11-02 ### Fixed diff --git a/starpunk/__init__.py b/starpunk/__init__.py index 4376c78..65ddaf2 100644 --- a/starpunk/__init__.py +++ b/starpunk/__init__.py @@ -464,5 +464,5 @@ def create_app(config=None): # Package version (Semantic Versioning 2.0.0) # See docs/standards/versioning-strategy.md for details -__version__ = "2.6.6" +__version__ = "2.6.7" __version_info__ = (2, 6, 4) diff --git a/static/css/style.css b/static/css/style.css index a0aa74b..fa2e8d2 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -136,7 +136,8 @@ small { display: block; margin-top: var(--spacing-xs); color: var(--color-text-l .button-warning { background: var(--color-warning); color: #333; border-color: var(--color-warning); } .button-small { padding: 0.25rem 0.5rem; font-size: 0.875rem; } -.admin-container { max-width: 60rem; } +.admin-page { --max-width: 60rem; } +.table-scroll { overflow-x: auto; } .admin-nav { display: flex; gap: var(--spacing-md); padding: var(--spacing-md); background: var(--color-bg-alt); border-radius: var(--border-radius); margin-bottom: var(--spacing-lg); flex-wrap: wrap; align-items: center; } .admin-nav .logout-form { margin-left: auto; } .admin-nav .logout-form button { margin: 0; } @@ -147,7 +148,7 @@ small { display: block; margin-top: var(--spacing-xs); color: var(--color-text-l .note-table { width: 100%; border-collapse: collapse; margin-top: var(--spacing-md); } .note-table th, .note-table td { padding: var(--spacing-md); text-align: left; border-bottom: 1px solid var(--color-border); } .note-table th { background: var(--color-bg-alt); font-weight: 600; } -.note-content-preview { max-width: 30rem; } +.note-content-preview { min-width: 14rem; overflow-wrap: anywhere; } .note-excerpt { margin-bottom: var(--spacing-xs); } .note-slug { color: var(--color-text-light); font-family: var(--font-mono); font-size: 0.75rem; } .note-date { white-space: nowrap; color: var(--color-text-light); } diff --git a/templates/admin/base.html b/templates/admin/base.html index 27aeebb..1743e95 100644 --- a/templates/admin/base.html +++ b/templates/admin/base.html @@ -1,5 +1,8 @@ {% extends "base.html" %} +{# Admin pages use a wider frame so tables fit under the header #} +{% block body_class %} class="admin-page"{% endblock %} + {% block content %}
Micropub apps you have approved. Revoke any you no longer use.
{% if tokens %} +No apps connected.
{% endif %} diff --git a/templates/admin/webmentions.html b/templates/admin/webmentions.html index 0dc101b..e6b2bab 100644 --- a/templates/admin/webmentions.html +++ b/templates/admin/webmentions.html @@ -43,6 +43,7 @@ +