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

difficult to click multiline code elements #26

Closed
SArpnt opened this issue Jan 7, 2022 · 1 comment
Closed

difficult to click multiline code elements #26

SArpnt opened this issue Jan 7, 2022 · 1 comment
Labels
bug Something isn't working Styling Issue on page styling

Comments

@SArpnt
Copy link
Contributor

SArpnt commented Jan 7, 2022

because the code element is inline, only the text itself is clickable, and not the line break gaps between text
image
if the code element is changed to inline-block, the entire area is clickable, although the text after can only go at the end of the block
image

it would be best to use some method that has all lines act like an inline block until it hits the bottom line if the bottom line is shorter, but i'm not sure how that could be done.
either way it should be considered

@SthephanShinkufag SthephanShinkufag added bug Something isn't working Styling Issue on page styling labels Jan 9, 2022
@SArpnt
Copy link
Contributor Author

SArpnt commented May 4, 2022

by putting a button element around the code block and styling it appropriately it will always behave like the second example
putting a button element should be done anyways for #44 and other accessibility reasons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Styling Issue on page styling
Projects
None yet
Development

No branches or pull requests

2 participants