sphinx-bootstrap-theme icon indicating copy to clipboard operation
sphinx-bootstrap-theme copied to clipboard

Logo image at the navbar.html need height restriction.

Open gordonpro opened this issue 10 years ago • 1 comments

navbar.html the line 12.

{%- if logo %}<img src="{{ pathto('_static/' + logo, 1) }}">{%- endif %}

if the logo picture has large bounds then made tag overflow.

gordonpro avatar Apr 04 '14 05:04 gordonpro

@gordonpro -- As a fix for right now, you can always style navbar-brand.img via CSS or just resize your image itself appropriately.

My main issue is the height of the navbar changes if you using native BS vs. one of the Bootswatch themes (those can be a little higher), so I'm not sure it's the best approach to throw a max-height in there. Would something like an actual CSS class like class="navbar-brand-logo" help to make sure you have a tight CSS selector to override?

ryan-roemer avatar Aug 08 '14 13:08 ryan-roemer