Skip to content

fix: render blog code blocks at a readable size - #265

Merged
Cervator merged 1 commit into
masterfrom
fix/code-block-font-size
Nov 14, 2026
Merged

Cervator merged 1 commit into
masterfrom
fix/code-block-font-size

Conversation

@soloturn

Copy link
Copy Markdown
Contributor

AI-assisted change proposal. Filed by agent driven by @soloturn via GDD.

Summary

Test plan

  • Built locally, and checked in a browser on /blog/waking-up-from-hibernation/: the code is readable
  • ESLint, Stylelint and Prettier pass

Related

body is 10px, so Bootstrap's `pre { font-size: .875em }` gave about 9px. Set 1.4rem plus padding and rounded corners on post code blocks. Highlighting already comes from Astro's Shiki. Refs #211.

Co-Authored-By: soloturn <soloturn@gmail.com>
@soloturn soloturn mentioned this pull request Nov 11, 2026
@coderabbitai

coderabbitai Bot commented Nov 11, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ec55ba25-a92b-414f-a3dd-bc709cd6b34e
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@Cervator
Cervator merged commit 3b26b9d into master Nov 14, 2026
6 checks passed
@Cervator
Cervator deleted the fix/code-block-font-size branch November 14, 2026 03:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants