Xyphyn / photon

A replacement for lemmy-ui with more features, a better design, and more customizability.
https://phtn.app
GNU Affero General Public License v3.0
344 stars 38 forks source link

Trim some <a> tags to prevent accidental preloading of content #298

Open BrikoX opened 4 months ago

BrikoX commented 4 months ago

Is your feature request related to a problem? Please describe. When scrolling a home feed or a community, if you scroll by any title it preloads the content and marks it as read. That is not a problem, but since the tag for title spans the full width on main body area, it makes it almost impossible to not accidentally mark something as read.

P.S. The same is is true for community name link, but it doesn't have adverse affect of being marked as read.

Describe the solution you'd like Use something like max-width: fit-content; so that tag ends with the content instead of spanning the whole main body area.

Additional context image image

Examples are provided in compact view mode, but the same is true for other modes.