Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix: Theme preview in Mobile Chrome, Safari#1683

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
trusktr merged 2 commits intodocsifyjs:developfromiNuanfeng:develop
Dec 10, 2021

Conversation

@iNuanfeng
Copy link
Contributor

Summary

I fix the sidebar style in mobile, when the body height is too small.

beforeafter
IMG_5942IMG_5943 2

What kind of change does this PR introduce?

Bugfix

For any code change,

  • Related documentation has been updated if needed
  • Related tests have been updated or tests have been added

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

If yes, please describe the impact and migration path for existing applications:

Related issue, if any:

Tested in the following browsers:

  • Chrome
  • Firefox
  • Safari
  • Edge
  • IE

@vercel
Copy link

vercelbot commentedDec 6, 2021
edited
Loading

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect:https://vercel.com/docsify-core/docsify-preview/BFAzBQc3zneuuviEnrAiqqYu6EEV
✅ Preview:https://docsify-preview-git-fork-inuanfeng-develop-docsify-core.vercel.app

@codesandbox-ci
Copy link

codesandbox-cibot commentedDec 6, 2021
edited
Loading

This pull request is automatically built and testable inCodeSandbox.

To see build info of the built libraries, clickhere or the icon next to each commit SHA.

Latest deployment of this branch, based on commit3399977:

SandboxSource
docsify-templateConfiguration

@sy-records
Copy link
Member

Can you provide a reproducible environment or repo?

Koooooo-7 reacted with thumbs up emoji

@Koooooo-7
Copy link
Member

Concurred with@sy-records .

@trusktr
Copy link
Member

@sy-records@Koooooo-7 the repo is linked at the top (https://github.com/iNuanfeng/docsify), and the vercel bot provided the live demo.

I tested it (deleted a bunch of elements in devtools inspector) but was not able to reproduce:

Capture

But I didn't try on an iPhone. Anyone else with an iPhone?

Koooooo-7 reacted with thumbs up emoji

@sy-records
Copy link
Member

It's normal for me to use iPhone to view.

image

Koooooo-7 reacted with thumbs up emoji

@Koooooo-7Koooooo-7 added the wait for informationsomething is not clear, waiting for the author of the issue/pr labelDec 6, 2021
@iNuanfeng
Copy link
ContributorAuthor

iNuanfeng commentedDec 7, 2021
edited
Loading

@sy-records@Koooooo-7 the repo is linked at the top (https://github.com/iNuanfeng/docsify), and the vercel bot provided the live demo.

I tested it (deleted a bunch of elements in devtools inspector) but was not able to reproduce:

Capture

But I didn't try on an iPhone. Anyone else with an iPhone?

It will reappear on the iPhone.
My IOS version is 13.4.1
The chrome version on my iPhone is 87.0.4280.163

@iNuanfeng
Copy link
ContributorAuthor

iNuanfeng commentedDec 7, 2021
edited
Loading

@sy-records When the content of the document is too small, it will be reproduced

@iNuanfeng
Copy link
ContributorAuthor

iNuanfeng commentedDec 7, 2021 via email

你好,我的MR(#1683)中,指的是文档内容过少,没有撑满一屏长度的时候,左侧侧边栏会无法显示全。环境是iphone下的chrome
------------------ 原始邮件 ------------------发件人: ***@***.***>;发送时间: 2021年12月6日(星期一) 下午5:26收件人: ***@***.***>;抄送: ***@***.***>; ***@***.***>;主题: Re: [docsifyjs/docsify] Fix: Theme preview in Mobile Chrome, Safari (PR#1683)It's normal for me to use iPhone to view.—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.

@sy-records
Copy link
Member

I don't have that version of the device.

I am using IOS15 and Chrome 97 is working fine.

https://github.com/iNuanfeng/iNuanfeng.github.io

@trusktr
Copy link
Member

@sy-records did you try with a small amount of content? Your screen shows a lot of content beyond the end of the bottom of the screen. See our screenshots that have little content.

@sy-records
Copy link
Member

Yes, I tested it with his repo.

@trusktr
Copy link
Member

trusktr commentedDec 7, 2021
edited
Loading

@sy-records but in your screenshot (below), I see full content. Can you post a screenshot with small (not tall) content?

It's normal for me to use iPhone to view.

image

@sy-records
Copy link
Member

image

@iNuanfeng
Copy link
ContributorAuthor

@sy-records So, It may be a browser compatibility

@trusktr
Copy link
Member

Hmm, yeah, just can't reproduce it yet.

But, if this fixes your issue, I think it is safe to merge because our snapshot tests are passing.

Wdyt@Koooooo-7@sy-records ?

@trusktrtrusktr merged commit47cd3b6 intodocsifyjs:developDec 10, 2021
@iNuanfeng
Copy link
ContributorAuthor

@trusktr@sy-records@Koooooo-7 Thank you !

@trusktr
Copy link
Member

@iNuanfeng no prob!

@Koooooo-7@sy-records we should add iPhone/Android tests. I learned how to configure playwright for that yesterday. WIP..

Koooooo-7 reacted with thumbs up emojiKoooooo-7 reacted with laugh emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@trusktrtrusktrtrusktr approved these changes

@sy-recordssy-recordssy-records approved these changes

@Koooooo-7Koooooo-7Awaiting requested review from Koooooo-7

Assignees

No one assigned

Labels

wait for informationsomething is not clear, waiting for the author of the issue/pr

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@iNuanfeng@sy-records@Koooooo-7@trusktr

[8]ページ先頭

©2009-2025 Movatter.jp