fix(prism.css): allow for long inline code tags to break, preventing horizontal scroll for long strings

This commit is contained in:
Cory Dransfeldt 2025-04-26 21:58:26 -07:00
parent 4958c7fe66
commit d745b153c3
No known key found for this signature in database
3 changed files with 5 additions and 4 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "3.3.2", "version": "3.3.3",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "coryd.dev", "name": "coryd.dev",
"version": "3.3.2", "version": "3.3.3",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"html-minifier-terser": "7.2.0", "html-minifier-terser": "7.2.0",

View file

@ -1,6 +1,6 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "3.3.2", "version": "3.3.3",
"description": "The source for my personal site. Built using 11ty (and other tools).", "description": "The source for my personal site. Built using 11ty (and other tools).",
"type": "module", "type": "module",
"engines": { "engines": {

View file

@ -36,7 +36,8 @@ pre {
background: light-dark(var(--gray-200), var(--gray-900)); background: light-dark(var(--gray-200), var(--gray-900));
border: var(--border-gray); border: var(--border-gray);
padding: var(--spacing-xs); padding: var(--spacing-xs);
white-space: normal white-space: normal;
word-wrap: break-word;
} }
.namespace { .namespace {