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

DownView font size on iPad is huge #102

Closed
1 task done
garyhooper opened this issue Sep 1, 2018 · 1 comment
Closed
1 task done

DownView font size on iPad is huge #102

garyhooper opened this issue Sep 1, 2018 · 1 comment

Comments

@garyhooper
Copy link

Please help prevent duplicate issues before submitting a new one:

  • I've searched other open/closed issues for duplicates before opening up this new issue.

Report

I'm using DownView to display an .md file. On iPhone, it appears as expected. On iPad (in landscape mode), the font is huge...approx. 55 characters per line.

What did you do?

let string = try? String( contentsOf: URL( fileURLWithPath: filepath ) ),
let downView = try? DownView( frame: self.view.bounds, markdownString: string, didLoadSuccessfully: { } )

What did you expect to happen?

Reasonable font size on iPad as well as iPhone.

What happened instead?

Reasonable on iPhone, huge on iPad.

@iwasrobbed
Copy link
Collaborator

Feel free to customize the CSS to your heart's delight: https://github.com/iwasrobbed/Down/blob/master/Tests/DownViewTests.swift#L74

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

No branches or pull requests

2 participants