fix: prism styles
This commit is contained in:
parent
88a2758f37
commit
f349fe29cf
3 changed files with 6 additions and 6 deletions
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "coryd.dev",
|
||||
"version": "8.4.1",
|
||||
"version": "8.4.2",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "coryd.dev",
|
||||
"version": "8.4.1",
|
||||
"version": "8.4.2",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@cdransf/api-text": "^1.2.2",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "coryd.dev",
|
||||
"version": "8.4.2",
|
||||
"version": "8.4.3",
|
||||
"description": "The source for my personal site. Built using 11ty.",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
|
|
@ -17,8 +17,8 @@ pre[class*="language-"] {
|
|||
|
||||
/* Code blocks */
|
||||
pre[class*="language-"] {
|
||||
padding: 1em;
|
||||
margin: 0.5em 0;
|
||||
padding: 1rem;
|
||||
margin: 1.25rem 0;
|
||||
overflow: auto;
|
||||
border-radius: var(--rounded-md);
|
||||
}
|
||||
|
@ -30,7 +30,7 @@ pre[class*="language-"] {
|
|||
|
||||
/* Inline code */
|
||||
:not(pre) > code[class*="language-"] {
|
||||
padding: 0.1em;
|
||||
padding: 0.1rem;
|
||||
border-radius: var(--rounded-md);
|
||||
white-space: normal;
|
||||
}
|
||||
|
|
Reference in a new issue