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

site-styles: Fix asciinema breaking width by removing aspect ratio code #637

Merged
merged 1 commit into from Nov 5, 2020

Conversation

garbas
Copy link
Member

@garbas garbas commented Nov 4, 2020

fixes #597

The reason there was that aspect ratio thing there was to, if I remember
right, make the whole player fit in the height of a side-ways mobile
device.

Though I think I must have forgotten to finish implementing this, as
instead it just resolved to using the default font sizes.

Rather, let's do what works fine for every other sizes: a ratio of the
device width.

@samueldr


This change is Reviewable

@github-actions
Copy link
Contributor

github-actions bot commented Nov 4, 2020

The reason there was that aspect ratio thing there was to, if I remember
right, make the whole player fit in the height of a side-ways mobile
device.

Though I think I must have forgotten to finish implementing this, as
instead it just resolved to using the default font sizes.

Rather, let's do what works fine for every other sizes: a ratio of the
device width.
@garbas
Copy link
Member Author

garbas commented Nov 4, 2020

I forgot to rebase on top of master, before opening this PR.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 4, 2020

@garbas garbas merged commit df0d970 into master Nov 5, 2020
@garbas garbas deleted the fix-597 branch November 5, 2020 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ascinema on mobile 2 (overflow)
2 participants