Skip to content
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.

[docs] Fix table scaling for languages and frameworks #637

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JesterOrNot
Copy link
Contributor

@JesterOrNot JesterOrNot commented May 16, 2020

Fixes #495

Please excuse my poor CSS skills 😅.

Old button sizes

image

New button sizes

image

This makes the images seem more clear

Copy link
Contributor

@nisarhassan12 nisarhassan12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many Thanks! 🙂 for the Pr.

With your change, the overall font size for the table is a bit smaller.

Before:

image

Now:

image

I personally prefer the larger font-size on large devices. Currently, I don't know of a solution via which we can align the tables so that users don't have to use the scrollbars to view the offscreen contents of the table.

src/docs/languages/bash.md Outdated Show resolved Hide resolved
src/docs/languages/cpp.md Outdated Show resolved Hide resolved
src/docs/languages/html.md Outdated Show resolved Hide resolved
@nisarhassan12
Copy link
Contributor

Currently, I don't know of a solution via which we can align the tables so that users don't have to use the scrollbars to view the offscreen contents of the table.

@ChristinFrohne Do you have any ideas on How way may achieve this? sites usually use horizontal scroll for tables when the device width is small.

@chrifro
Copy link
Contributor

chrifro commented May 18, 2020

Currently, I don't know of a solution via which we can align the tables so that users don't have to use the scrollbars to view the offscreen contents of the table.
@ChristinFrohne Do you have any ideas on How way may achieve this? sites usually use horizontal scroll for tables when the device width is small.

What about having only two cells on mobile and just adding the open in Gitpodbutton underneath each description?

@JesterOrNot JesterOrNot force-pushed the sh/scale-example-tables branch from 2eb80d0 to 33a66f9 Compare May 20, 2020 01:19
Fixes #495

Update src/docs/languages/bash.md

Co-authored-by: Nisar Hassan Naqvi <[email protected]>

Update src/styles/normalize.ts

Co-authored-by: Nisar Hassan Naqvi <[email protected]>

Update src/docs/languages/cpp.md

Co-authored-by: Nisar Hassan Naqvi <[email protected]>
@JesterOrNot JesterOrNot force-pushed the sh/scale-example-tables branch from 33a66f9 to 8ff6afb Compare May 20, 2020 01:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Languages and Frameworks Scaling on Mobile
3 participants