commit ba36c96a7057444002ba1182bf18e084e49b1036
parent 0345cd66944c60ab725a0d349772c3bfad682c56
Author: Hunter
Date: Wed, 4 Feb 2026 18:05:04 -0500
rename to zine workshop; inject max image width
Diffstat:
3 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/index.html b/index.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
- <title>zine.html</title>
+ <title>zine workshop</title>
<link rel="stylesheet" href="resources/editor.css">
<script type="module">
import {EditorView, keymap, placeholder, lineNumbers, Decoration, EditorState, Compartment, defaultKeymap, indentWithTab, undo, redo, undoDepth, redoDepth, history, historyKeymap, closeBrackets, closeBracketsKeymap, html, githubDark, indentUnit, search, searchKeymap, closeSearchPanel, openSearchPanel} from "./resources/codemirror-bundle.js"
diff --git a/resources/html-utils.js b/resources/html-utils.js
@@ -34,7 +34,7 @@ export function updateMainPageTitleAndFavicon(title, favicon) {
if (title) {
document.title = title;
} else {
- document.title = 'zine.html';
+ document.title = 'zine workshop';
}
let faviconLink = document.querySelector('link[rel="icon"]');
if (!faviconLink) {
diff --git a/resources/zine-styles.js b/resources/zine-styles.js
@@ -171,6 +171,9 @@ export const ZINE_PAGE_CSS = `
.zine-empty:last-child {
border-left: none;
}
+ img {
+ max-width: 100%;
+ }
`;
// Generate CSS to show only the current spread