Fix viewer position and shape in mobile mode #7677

Merged
jm-morani merged 1 commit from master into master 2022-08-26 21:36:48 +02:00
jm-morani commented 2022-08-22 06:02:39 +02:00 (Migrated from github.com)

Fixes

Issue Number:

What is the current behavior?

When the screen is narrow enough, the video is not render at the same location than the cover.
Because it's rather on the top of the window, the top of the video is hidden by the header.

What is the new behavior?

The video is played at the exact same location than the cover, and is fully visible.
As well, because that area has then no margin with the border of the window, I removed the rounded border (seems to already be a pattern).

Other information

This is a very minor change.

(On narrow window, it may look even better with an overlay scrollbar.)
Anyway, it may not be the best fix, but it solves my problem. Thank you for making lbry.

PR Checklist

Toggle...

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting)
  • Refactoring (no functional changes)
  • Documentation changes
  • Other - Please describe:

Please check all that apply to this PR using "x":

  • I have checked that this PR is not a duplicate of an existing PR (open, closed or merged)
  • I added a line describing my change to CHANGELOG.md
  • I have checked that this PR does not introduce a breaking change
  • This PR introduces breaking changes and I have provided a detailed explanation below
## Fixes Issue Number: ## What is the current behavior? When the screen is narrow enough, the video is not render at the same location than the cover. Because it's rather on the top of the window, the top of the video is hidden by the header. ## What is the new behavior? The video is played at the exact same location than the cover, and is fully visible. As well, because that area has then no margin with the border of the window, I removed the rounded border (seems to already be a pattern). ## Other information This is a very minor change. (On narrow window, it may look even better with an overlay scrollbar.) Anyway, it may not be the best fix, but it solves my problem. Thank you for making lbry. ## PR Checklist <!-- For the checkbox formatting to work properly, make sure there are no spaces on either side of the "x" --> <details><summary>Toggle...</summary> What kind of change does this PR introduce? - [X] Bugfix - [ ] Feature - [ ] Code style update (formatting) - [ ] Refactoring (no functional changes) - [ ] Documentation changes - [ ] Other - Please describe: Please check all that apply to this PR using "x": - [ ] I have checked that this PR is not a duplicate of an existing PR (open, closed or merged) - [ ] I added a line describing my change to CHANGELOG.md - [ ] I have checked that this PR does not introduce a breaking change - [ ] This PR introduces breaking changes and I have provided a detailed explanation below </details>
jessopb commented 2022-08-22 17:31:03 +02:00 (Migrated from github.com)

Thanks for the PR!
Can you tell me how you use lbry with narrow screen? Is it a specific device, or just using it windowed/tiled?

Thanks for the PR! Can you tell me how you use lbry with narrow screen? Is it a specific device, or just using it windowed/tiled?
jm-morani commented 2022-08-22 23:26:41 +02:00 (Migrated from github.com)

I wrote "mobile" because that what is in the code. But, I actually use lbry on a laptop running debian bullseye and the i3 window manager.

I wrote "mobile" because that what is in the code. But, I actually use lbry on a laptop running debian bullseye and the i3 window manager.
jessopb (Migrated from github.com) approved these changes 2022-08-26 21:36:36 +02:00
jessopb (Migrated from github.com) left a comment

Nice

Nice
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-desktop#7677
No description provided.