aws / mynah-ui

https://aws.github.io/mynah-ui/
Apache License 2.0
13 stars 11 forks source link

Fix copy/paste for inline code #100

Closed volodkevych closed 2 weeks ago

volodkevych commented 3 weeks ago

Problem

If you copy from the Mynah card with inline code and paste it into another place, it will contain new line breaks around inline code text. The problem is described in more details in related issue: https://github.com/aws/mynah-ui/issues/98

Solution

Avoid using block elements for inline code.

Before: Screenshot 2024-08-21 at 18 12 28 After: Screenshot 2024-08-21 at 18 12 44

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

volodkevych commented 3 weeks ago

This change was verified in web, but still needs to be verified in IDEs.