fix: prism styles

This commit is contained in:
Cory Dransfeldt 2024-03-21 21:21:32 -07:00
parent 88a2758f37
commit f349fe29cf
No known key found for this signature in database
3 changed files with 6 additions and 6 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "8.4.1", "version": "8.4.2",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "coryd.dev", "name": "coryd.dev",
"version": "8.4.1", "version": "8.4.2",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@cdransf/api-text": "^1.2.2", "@cdransf/api-text": "^1.2.2",

View file

@ -1,6 +1,6 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "8.4.2", "version": "8.4.3",
"description": "The source for my personal site. Built using 11ty.", "description": "The source for my personal site. Built using 11ty.",
"type": "module", "type": "module",
"scripts": { "scripts": {

View file

@ -17,8 +17,8 @@ pre[class*="language-"] {
/* Code blocks */ /* Code blocks */
pre[class*="language-"] { pre[class*="language-"] {
padding: 1em; padding: 1rem;
margin: 0.5em 0; margin: 1.25rem 0;
overflow: auto; overflow: auto;
border-radius: var(--rounded-md); border-radius: var(--rounded-md);
} }
@ -30,7 +30,7 @@ pre[class*="language-"] {
/* Inline code */ /* Inline code */
:not(pre) > code[class*="language-"] { :not(pre) > code[class*="language-"] {
padding: 0.1em; padding: 0.1rem;
border-radius: var(--rounded-md); border-radius: var(--rounded-md);
white-space: normal; white-space: normal;
} }