Skip to content

Commit

Permalink
fix entry page layout has changed
Browse files Browse the repository at this point in the history
  • Loading branch information
krvpb024 committed Feb 1, 2024
1 parent 4253320 commit 3a50cd5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion internal/template/templates/views/entry.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ define "title"}}{{ .entry.Title }}{{ end }}

{{ define "page_header"}}
<section class="entry page-header" data-id="{{ .entry.ID }}" aria-labelledby="page-header-title">
<section class="entry" data-id="{{ .entry.ID }}" aria-labelledby="page-header-title">
<header class="entry-header">
<h1 id="page-header-title" dir="auto">
<a href="{{ .entry.URL | safeURL }}" target="_blank" rel="noopener noreferrer" referrerpolicy="no-referrer">{{ .entry.Title }}</a>
Expand Down
1 change: 1 addition & 0 deletions internal/ui/static/css/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -948,6 +948,7 @@ article.category-has-unread {
/* Entry view */
.entry header {
padding-bottom: 5px;
padding-inline: 5px;
border-bottom: 1px dotted var(--entry-header-border-color);
}

Expand Down

0 comments on commit 3a50cd5

Please sign in to comment.