Skip to content

Commit

Permalink
fix: mark read on scroll marks visible items as read using vertical c…
Browse files Browse the repository at this point in the history
…ompact display mode

Signed-off-by: Wolfgang <github@linux-dude.de>
  • Loading branch information
wofferl committed Dec 3, 2024
1 parent 768fe1b commit c3e0748
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ You can also check [on GitHub](https://github.com/nextcloud/news/releases), the
- add item url to open website button aria label for screen readers

Check failure on line 13 in CHANGELOG.md

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [Vale.Spelling] Did you really mean 'url'? Raw Output: {"message": "[Vale.Spelling] Did you really mean 'url'?", "location": {"path": "CHANGELOG.md", "range": {"start": {"line": 13, "column": 12}}}, "severity": "ERROR"}
- allow using `toggle starred` and `mark read` icons with keyboard
- remove close button from list items in screen reader mode
- mark read on scroll marks visible items as read using vertical compact display mode

# Releases
## [25.1.0] - 2024-12-01
Expand Down
4 changes: 2 additions & 2 deletions src/components/feed-display/FeedItemRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
</a>
</h1>

<div v-if="!compactMode || !verticalSplit" class="intro-container" :class="{ 'compact': compactMode }">
<div class="intro-container" :class="{ 'compact': compactMode }">
<!-- eslint-disable vue/no-v-html -->
<span class="intro" v-html="item.intro" />
<span v-if="!compactMode || !verticalSplit" class="intro" v-html="item.intro" />
<!--eslint-enable-->
</div>

Expand Down

0 comments on commit c3e0748

Please sign in to comment.