Skip to content

Commit e226bf1

Browse files
loganjclaude
andcommitted
Fix blockcell published page spacing to match birdseye viewer
The aggressive CSS reset `* { margin: 0; padding: 0 }` was stripping default browser margins from all prose elements (p, h1-h6, pre, ul, ol, blockquote), making published pages look cramped. Birdseye's own viewer only resets box-sizing globally and lets browser defaults provide natural paragraph/heading spacing. Also aligns the font stack (Roboto fallback). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 12bf92f commit e226bf1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

internal/publish/render.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ document.addEventListener('DOMContentLoaded', function() {
116116
}
117117

118118
const pageCSS = `
119-
* { margin: 0; padding: 0; box-sizing: border-box; }
120-
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; color: #333; background: #f8f9fa; }
119+
* { box-sizing: border-box; }
120+
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; margin: 0; padding: 0; color: #333; background: #f8f9fa; }
121121
.layout { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
122122
123123
/* Sidebar */

0 commit comments

Comments
 (0)