Skip to content

Commit df04324

Browse files
committed
Add padding on logo in header to avoid distortion
header size setting expects square logo, but can't make logo square setting proportional sizes makes it look distorted, padding worked best
1 parent 2ecc1e4 commit df04324

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/stylesheets/extra.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,6 @@ based on this suggestion: https://github.com/squidfunk/mkdocs-material/discussio
2222
.md-header__button.md-logo img, .md-header__button.md-logo svg {
2323
height: 2.8rem;
2424
width: 2.8rem;
25+
padding-top: .175rem;
26+
padding-bottom: .175rem;
2527
}

0 commit comments

Comments
 (0)