Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Layout rendering mismatch with tables on mobile #1820

Closed
RobDaPraia opened this issue Jul 2, 2017 · 1 comment
Closed

Layout rendering mismatch with tables on mobile #1820

RobDaPraia opened this issue Jul 2, 2017 · 1 comment
Assignees
Labels
template The stock site template

Comments

@RobDaPraia
Copy link

Layout rendering mismatch with tables on mobile

When using tables with long content, the rendering on mobile is mismatched. The navbar is shrinked to show the full table width, see attached screenshot. On Desktop the effect is not so dramatic, you get a horizontal scrollbar on the bottom of the page

Functional impact

Page looks 'not good' on mobile when using tables

Minimal repro steps

Create DocFx from attached project and open site on mobile

DocFx.zip

Expected result

Navbar full width on mobile, responsive table on mobile

Actual result

Screen is resized to accommodate the full width of the table

Further technical details

An option would be to make the tables responsive by the following html code.

Or can we easily add the "div class="table-responsive"" by a custom template?

<div class="table-responsive">
<table>
...
</table>
  </div>

In the attached screenshots you can see how the responsive table looks (the lower table)

tableonmobile

tabelondesktop

@vicancy vicancy added template The stock site template bug labels Jul 3, 2017
@superyyrrzz
Copy link
Contributor

Same with #2024. Resolved in #2084 since v2.25.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
template The stock site template
Projects
None yet
Development

No branches or pull requests

3 participants