theme: cap sidebar logo at 113px (live-site size); was stretched to fill widened menu

This commit is contained in:
noether committed 2026-11-01 21:45:45 -07:00
1 parent 926d7058d6
commit abc4638373
1 file changed
+12
+12
View File
@@ -34,3 +34,15 @@
max-width: 100%; max-width: 100%;
height: auto; height: auto;
} }
// Cap the sidebar logo.
//
// The theme sets `.book-brand img { width: 100% }`, which stretches the logo
// to fill the (widened) sidebar — ~285px locally vs 113px on the live site.
// Pin it to the live size so it is no longer huge. `_custom.scss` is imported
// last in book.scss, so this wins the cascade over the theme rule.
.book-brand img {
width: 113px;
max-width: 113px;
height: auto;
}