From ef166729f355a2b38fd409247701382a99203840 Mon Sep 17 00:00:00 2001 From: Chris Holdgraf Date: Tue, 21 Feb 2023 11:33:48 +0100 Subject: [PATCH 1/2] Fix: logo image stretching vertically --- src/sphinx_book_theme/assets/styles/components/_logo.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/sphinx_book_theme/assets/styles/components/_logo.scss b/src/sphinx_book_theme/assets/styles/components/_logo.scss index 38f597cd..bbfa23de 100644 --- a/src/sphinx_book_theme/assets/styles/components/_logo.scss +++ b/src/sphinx_book_theme/assets/styles/components/_logo.scss @@ -16,4 +16,8 @@ white-space: normal; text-align: center; } + // Prevent images from stretching vertically + .logo__image { + height: unset; + } } From b22c00b888c3b002f6ff23cc5c33a19703518a94 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 21 Feb 2023 10:35:07 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/sphinx_book_theme/assets/styles/components/_logo.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sphinx_book_theme/assets/styles/components/_logo.scss b/src/sphinx_book_theme/assets/styles/components/_logo.scss index bbfa23de..753676f0 100644 --- a/src/sphinx_book_theme/assets/styles/components/_logo.scss +++ b/src/sphinx_book_theme/assets/styles/components/_logo.scss @@ -16,7 +16,7 @@ white-space: normal; text-align: center; } - // Prevent images from stretching vertically + // Prevent images from stretching vertically .logo__image { height: unset; }