Twitter Bootstrap Navbar blocking svg viewBox
Posted
by
user1167650
on Stack Overflow
See other posts from Stack Overflow
or by user1167650
Published on 2012-08-28T15:37:10Z
Indexed on
2012/08/28
15:38 UTC
Read the original article
Hit count: 234
I have a navbar fixed to the bottom and I have page that has a title and a giant svg (created by d3.js). I would like the svg to take up the entire screen (whatever is left over), but it always seems to have some part appear behind the bottom nav bar.
I've tried:
1) using viewBox to auto-resize, setting the parent div and the svg to be block elements 2) adding padding-bottom to the body element
But the svg still appears behind the navbar on wide screen monitors.
© Stack Overflow or respective owner