danix
's git repository
home
/
my projects
/
theme-danix.xyz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
467d730
)
Added dropcap shortcode and fixed display of code blocks
author
danix
<danix@danix.xyz>
Sun, 19 Feb 2023 08:38:36 +0000
(09:38 +0100)
committer
danix
<danix@danix.xyz>
Sun, 19 Feb 2023 08:38:36 +0000
(09:38 +0100)
modified: assets/sass/base/_typography.scss
layouts/shortcodes/dropcap.html
assets/sass/base/_typography.scss
patch
|
blob
|
blame
|
history
diff --git
a/assets/sass/base/_typography.scss
b/assets/sass/base/_typography.scss
index
b615f44
..
94ca410
100644
(file)
--- a/
assets/sass/base/_typography.scss
+++ b/
assets/sass/base/_typography.scss
@@
-176,3
+176,9
@@
.hidden {
\r
@include hide-visually;
\r
}
\r
+
\r
+ // large code blocks are wrapped in the highlight shortcode
\r
+ .highlight {
\r
+ max-width: 100%;
\r
+ overflow-x: auto;
\r
+ }
\ No newline at end of file