Skip to content

Commit

Permalink
fix: resizer CSS, marking article as read
Browse files Browse the repository at this point in the history
  • Loading branch information
jirikuchta committed Apr 12, 2024
1 parent 7786fe9 commit 7f36c8f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions static/less/resizer.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ rr-resizer {

&::before {
content: "";
width: 5px;
width: 8px;
position: absolute;
top: 0px; bottom: 0px; left: -2px;
z-index: 1;
top: 0px; bottom: 0px;
cursor: ew-resize;
}

Expand Down
1 change: 1 addition & 0 deletions static/ts/ui/detail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export default class Detail extends HTMLElement {
set article(data: types.Article) {
let article = new Article(data);
this.replaceChildren(article, new Tools(article), buildCloseButton(this.app));
await articles.markRead([data.id]);
}
}

Expand Down

0 comments on commit 7f36c8f

Please sign in to comment.