From 159a13984630750145b6c83465d8d8145b160be6 Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Sat, 7 Feb 2026 10:35:36 +0100 Subject: [PATCH] minor style adjustment --- README.md | 2 +- sass/style.scss | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 13d1902..947db8a 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Image with max-width constraint. `width` defaults to `500px`: ```md -{% img(src="./diagram.png", alt="Architecture", width="600px") %} +{{ img(src="./diagram.png", alt="Architecture", width="600px") }} ``` Figure caption: diff --git a/sass/style.scss b/sass/style.scss index 29f81ea..6b4605f 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -80,6 +80,7 @@ img { max-width: 100%; height: auto; margin: 0 auto; + border-radius: 4px; } figcaption { @@ -172,7 +173,7 @@ code { font-size: 0.88em; background: var(--code-bg); padding: 0.1em 0.3em; - border-radius: 3px; + border-radius: 4px; } pre {