theme: cap sidebar logo at 113px (live-site size); was stretched to fill widened menu
This commit is contained in:
1 parent
926d7058d6
commit
abc4638373
1 file changed
+12
@@ -34,3 +34,15 @@
|
||||
max-width: 100%;
|
||||
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;
|
||||
}
|
||||
Reference in new issue
Block a user