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

html max-width:100% #112

Open
cdoky opened this issue Aug 28, 2019 · 2 comments
Open

html max-width:100% #112

cdoky opened this issue Aug 28, 2019 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@cdoky
Copy link

cdoky commented Aug 28, 2019

private enum Text {
        static let tableHTML = """
        <p><img style="max-width: 100%" src="https://raw.githubusercontent.com/tophat/RichTextView/master/.github/assets/RichTextView.png"></p><p><img style="max-width: 50%" src="https://raw.githubusercontent.com/tophat/RichTextView/master/.github/assets/RichTextView.png"></p>
        """
    }

Simulator Screen Shot - iPhone Xʀ - 2019-08-28 at 09 49 18

@aelkady aelkady added bug Something isn't working help wanted Extra attention is needed labels Sep 5, 2019
@aelkady
Copy link
Contributor

aelkady commented Sep 5, 2019

Hey @PhilCC thanks for opening this issue? Can you clarify what specifically is going on? Is setting the width to 100% cutting off the HTML?

@cdoky
Copy link
Author

cdoky commented Sep 9, 2019

@aelkady I want setting the width to 100%, show all of the image, do not cut

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants