Skip to content

Commit 0a8df6c

Browse files
Fix styling of navbar brand img for svgs
1 parent 84134e0 commit 0a8df6c

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

pandas-docs/source/_static/pandas.png

-14.7 KB
Binary file not shown.

pandas-docs/source/_static/pandas.svg

+1
Loading

pandas-docs/source/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ def run(self):
387387

388388
# The name of an image file (relative to this directory) to place at the top
389389
# of the sidebar.
390-
html_logo = '_static/pandas.png'
390+
html_logo = '_static/pandas.svg'
391391

392392
# Add any paths that contain custom static files (such as style sheets) here,
393393
# relative to this directory. They are copied after the builtin static files,

pandas_sphinx_theme/static/css/custom.css

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
.navbar-brand img {
22
max-height: 50px;
3+
width: auto;
4+
height: 3rem;
35
}
46

57
.navbar-light {

0 commit comments

Comments
 (0)