mirror of
https://github.com/go-shiori/shiori.git
synced 2026-04-25 06:25:54 +03:00
[PR #759] [MERGED] fix: Actions in overlays on mobile hard to press #775
Labels
No labels
component:backend
component:builds
component:builds
component:extension
component:frontend
component:readability
database
database:mysql
database:postgres
database:sqlite
feature:ebooks
github_actions
good first issue
hacktoberfest
note:duplicate?
note:fixed?
note:out-of-scope?
os:windows
priority:high
priority:low
pull-request
resolution:as-intended
resolution:cant-reproduce
resolution:duplicate
resolution:fixed
resolution:wontfix
tag:TBD
tag:big-task
tag:help-wanted
tag:huge-data
tag:meta
tag:more-info
tag:next
tag:no-stale
tag:requires-migrations
tag:research
tag:security 🛡️
tag:stale
tag:waiting-for-assignee
type:bug
type:documentation
type:enhancement
type:meta
type:ux
user:cli
user:web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shiori#775
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/go-shiori/shiori/pull/759
Author: @cbe
Created: 10/15/2023
Status: ✅ Merged
Merged: 10/22/2023
Merged by: @fmartingr
Base:
master← Head:mobile_overlays📝 Commits (4)
51dd2fdfix: Actions in overlays on mobile hard to press1f6f7eaMerge remote-tracking branch 'github' into mobile_overlaysd9c4326fix: provide fallback values for newer dynamic viewport units45fb8eeMerge branch 'master' into mobile_overlays📊 Changes
3 files changed (+18 additions, -10 deletions)
View changed files
📝
internal/view/assets/css/style.css(+1 -1)📝
internal/view/assets/less/common.less(+13 -7)📝
internal/view/assets/less/custom-dialog.less(+4 -2)📄 Description
Buttons on mobile devices could've been cut off, depending on the browsers chrome size which rendered them either completely off-screen or at least hard to reach. Using
dvh(dynamic viewport height) should fix this issue for most newer browsers.ℹ️ I could not find an issue for this problem, do you want me to create one so it's properly tracked?
Also: these types of units are rather new (stable since mid to end of last year, as seen on caniuse.com). What's your opinion on fallback values to the original
vhfor example?Screenshots
master🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.