Skip to content

Commit

Permalink
fix code block rogue padding (#883)
Browse files Browse the repository at this point in the history
closes #882

---------

Co-authored-by: create-issue-branch[bot] <53036503+create-issue-branch[bot]@users.noreply.github.com>
Co-authored-by: Lois Wells <lois.wells@raspberrypi.org>
Co-authored-by: Lois Wells <88904316+loiswells97@users.noreply.github.com>
  • Loading branch information
3 people committed Jan 11, 2024
1 parent dff625e commit 0ba2c54
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Wrap the project bar when sidebar is wide (#869)
- Web component project bar state update delay (#869)
- Left border of the project bar (#869)
- Indentation of code block first line (#883)
- Code block 3-digit line numbers (#883)

## [0.21.0] - 2024-01-05

Expand Down
5 changes: 5 additions & 0 deletions src/assets/stylesheets/Instructions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@
pre {
margin: 0;
}

code {
padding-inline-start: 0;
}
}

.c-code-filename {
Expand Down Expand Up @@ -77,6 +81,7 @@
border-color: $rpf-text-secondary-dark;

span::before {
padding-inline-end: $space-0-5;
color: $rpf-text-secondary-dark;
}
}
Expand Down

0 comments on commit 0ba2c54

Please sign in to comment.