Skip to content

Commit 30d0c2d

Browse files
Fix: logo image stretching vertically (#689)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 70e8ade commit 30d0c2d

File tree

1 file changed

+4
-0
lines changed
  • src/sphinx_book_theme/assets/styles/components

1 file changed

+4
-0
lines changed

src/sphinx_book_theme/assets/styles/components/_logo.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,8 @@
1616
white-space: normal;
1717
text-align: center;
1818
}
19+
// Prevent images from stretching vertically
20+
.logo__image {
21+
height: unset;
22+
}
1923
}

0 commit comments

Comments
 (0)