summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2024-07-08 22:00:05 -0400
committerDavid Thompson <dthompson2@worcester.edu>2024-07-08 22:00:05 -0400
commita7eb1a0c87057998e169b0852fbe350f20169955 (patch)
tree7bbb5fd68d2228dd8347adfd20935bbdb2705a05
parentda895e9da67c917965f13a0416bd34eed6f512e2 (diff)
theme: Improve code block sizing/scrolling.
-rw-r--r--css/dthompson.css5
1 files changed, 3 insertions, 2 deletions
diff --git a/css/dthompson.css b/css/dthompson.css
index 7bdd6a6..1d1bc7d 100644
--- a/css/dthompson.css
+++ b/css/dthompson.css
@@ -40,9 +40,10 @@ a:visited {
pre {
font-family: "Inconsolata",monospace;
+ width: calc(100% - 1rem);
line-height: 110%;
- min-width: 100%;
- padding: 1rem;
+ overflow-x: auto;
+ padding: 0.5rem;
background-color: #222034;
color: #deeed6;
border-radius: 4px;