🏡 index : ~doyle/chartered.git

author Jordan Doyle <jordan@doyle.la> 2021-09-26 18:06:13.0 +01:00:00
committer Jordan Doyle <jordan@doyle.la> 2021-09-26 18:06:13.0 +01:00:00
commit
d90e2ad0819cb877a9711c15b38a1a5ff27b83bb [patch]
tree
b01c0da40fc6788bb1ad67468f76e9a87851aedd
parent
2e028992a37e1a6ed1f00110f8a1c3bfd54b3b69
download
d90e2ad0819cb877a9711c15b38a1a5ff27b83bb.tar.gz

Only apply padding to code when not inside a pre



Diff

 chartered-frontend/src/index.sass | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/chartered-frontend/src/index.sass b/chartered-frontend/src/index.sass
index 99df259..c48704b 100644
--- a/chartered-frontend/src/index.sass
+++ a/chartered-frontend/src/index.sass
@@ -17,6 +17,9 @@
    padding: .1rem .2rem
    border-radius: 3px

    pre &
        padding: 0

td.fit, th.fit
    width: 0.1%
    white-space: nowrap