fix(prism.css): use overflow-wrap for long, uninterrupted text strings

This commit is contained in:
Cory Dransfeldt 2025-05-14 06:52:54 -07:00
parent 563cdef42a
commit f822d627c1
No known key found for this signature in database
3 changed files with 7 additions and 8 deletions

10
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "coryd.dev",
"version": "4.3.0",
"version": "4.3.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "coryd.dev",
"version": "4.3.0",
"version": "4.3.1",
"license": "MIT",
"dependencies": {
"html-minifier-terser": "7.2.0",
@ -1586,9 +1586,9 @@
}
},
"node_modules/debug": {
"version": "4.4.0",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz",
"integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==",
"version": "4.4.1",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz",
"integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==",
"dev": true,
"license": "MIT",
"dependencies": {

View file

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

View file

@ -25,7 +25,6 @@ pre {
code {
white-space: pre-wrap;
word-wrap: break-word;
overflow-wrap: break-word;
padding: 0;
}
@ -37,7 +36,7 @@ pre {
border: var(--border-gray);
padding: var(--spacing-xs);
white-space: normal;
word-wrap: break-word;
overflow-wrap: break-word;
}
.namespace {