diff --git a/mamweb/static/css/mamweb.css b/mamweb/static/css/mamweb.css index 09b870f4..2a719264 100644 --- a/mamweb/static/css/mamweb.css +++ b/mamweb/static/css/mamweb.css @@ -242,6 +242,10 @@ nav.nav-button { display: none; } +div.dropdown-backdrop { /* tohle způsobuje, že funguje mobilní menu */ + z-index: -1; +} + h1 a:hover { text-decoration: none; } @@ -387,11 +391,16 @@ p.license-mobile { } div.graf{ + width: 70%; float: none; margin-left: auto; margin-right: auto; - width: 70%; + margin-top: 10px; } + #svg-graf{ + width: 100%; + height: auto;; + } ul.menu { font-size: 90%; @@ -575,12 +584,9 @@ ul.submenu { float: none; } - div.graf{ - float: none; - width: 70%; - margin-left: auto; - margin-right: auto; - } + div.graf { + width: 100%; + } } diff --git a/mamweb/templates/graph.svg b/mamweb/templates/graph.svg index 7f25678c..ed730edf 100644 --- a/mamweb/templates/graph.svg +++ b/mamweb/templates/graph.svg @@ -10,7 +10,7 @@ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" version="1.1" - id="svg2" + id="svg-graf" width="482.57019" height="599.45636" viewBox="0 0 482.57019 599.45636"