mirror of
https://github.com/juherr/kill-the-news.git
synced 2026-06-20 22:03:48 +00:00
feat(admin): link email detail to its public entry page
Add a "Public page" link next to the Rendered/Raw toggle in the admin email view, opening the standalone /entries/:feedId/:entryId render. Centralize the entry route shape in a pure entryPath() builder, used by both the admin link and the RSS/Atom/JSON feed generator. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -554,6 +554,20 @@ textarea:focus {
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
.toggle-view-link {
|
||||
margin-left: auto;
|
||||
align-self: center;
|
||||
color: var(--color-text-secondary);
|
||||
font-size: var(--font-size-sm);
|
||||
font-weight: var(--font-weight-medium);
|
||||
text-decoration: none;
|
||||
transition: color var(--transition-fast);
|
||||
}
|
||||
|
||||
.toggle-view-link:hover {
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
/* Email content container */
|
||||
.email-content {
|
||||
margin-top: var(--spacing-md);
|
||||
|
||||
Reference in New Issue
Block a user