First line of code blocks on design.gitlab.com is offset
The following discussion from !3717 (merged) should be addressed:
-
@jeldergl started a discussion: (+4 comments) @danmh when rendered this first line is indented by a space. I'm not sure what's causing it.
@jeldergl yes I see it! Looks unrelated to this MR as I can also see it on https://design.gitlab.com/get-started/uik-components#naming-properties
I suspect we don't normally notice it as there is often indentation in the content of these
```
code blocks. Lets create an issue to investigate / fix it
Proposal
- Eliminate the extra padding for multi-line code blocks to ensure first line of code is aligned with following lines
- Keep padding for inline blocks to ensure inline code remains readable
Edited by Jeff Tucker