fix(prism.css): allow for long inline code tags to break, preventing horizontal scroll for long strings
This commit is contained in:
parent
4958c7fe66
commit
d745b153c3
3 changed files with 5 additions and 4 deletions
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -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",
|
||||||
|
|
|
@ -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": {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue