-
Notifications
You must be signed in to change notification settings - Fork 38
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
Code block border does not match code block area #100
Comments
Oh weird I didnt understand what you meant by this! What browser were you using because it doesn’t do this in Firefox, which is why I was confused |
@jonheslop this happens in Chrome |
@jonheslop also in Safari. This reminds me of something @christophertomasdesign noticed about the tech docs template when he made a diagram for the docs. He said the text width in the tech docs template is around 100 px (?) larger than the text width on GOV.UK. Maybe the two are related? |
This issue is caused by Which is seems like was a temp fix for another issue. I was just gonna remove the But @bravegrape you’re probably right that the line length in general is probably too long but changing that doesn’t fix this issue. Another fix would be to remove the wrapping div when ``` are used the markdown processor wraps the code with
The div seems unneccessary to me could just be
That would fix it but it looks like that is done by |
Fixes #100 -- the border now lines up with the bounds of the code block and placing code blocks in table cells does not allow the table to grow wider than the viewport. Overflowing text will be hidden in this case.
For example:
https://govukpay-docs-test-jfh.cloudapps.digital/making_payments/#creating-a-payment
The text was updated successfully, but these errors were encountered: