ElectricRCAircraftGuy / ElectricRCAircraftGuy.github.io

My github pages website at gabrielstaples.com
https://gabrielstaples.com/
5 stars 1 forks source link

Add a little space to the left of the code blocks #67

Closed ElectricRCAircraftGuy closed 1 year ago

ElectricRCAircraftGuy commented 1 year ago

There should be a little gap. Code should not go all the way up to the left side of the code block box.

See the space left of the code to the edge of the box?: Here: https://github.com/ElectricRCAircraftGuy/ElectricRCAircraftGuy.github.io/blob/master/_posts/2023-05-22-bash-libraries.md:

image

My website looks like this: http://127.0.0.1:4001/bash-libraries/:

image

The commit that introduces this problem is when I went from light to dark, here: 9315052f82aab14bac5101f9b18470aba779131c

commit 9315052f82aab14bac5101f9b18470aba779131c (HEAD)
Author: Gabriel Staples
Date:   Sat Jun 17 22:45:24 2023 -0700

    Fix code syntax highlighting to be light not dark!

    Use GitHub styling, from the bottom of this comment here:
    https://github.com/mmistakes/minimal-mistakes/issues/2770#issuecomment-752800124

    See also my comment here about how I think that CSS was generated!:
    https://github.com/mmistakes/minimal-mistakes/issues/2770#issuecomment-752850850

    Fixes issue #16

            modified:   _sass/minimal-mistakes/_syntax.scss
            new file:   _sass/minimal-mistakes/_syntax.scss.old
ElectricRCAircraftGuy commented 1 year ago

For the old bash libraries screenshot from an older build, see above. Here's the new one: https://gabrielstaples.com/bash-libraries/#gsc.tab=0:

Notice that the code is no longer jammed up against the left side of the code block box!:

image