diff --git a/static/style.css b/static/style.css index 4e1ff94..39e0cf2 100644 --- a/static/style.css +++ b/static/style.css @@ -1,7 +1,12 @@ +* { + box-sizing: border-box; +} + body { margin: 0; padding: 0; font-family: sans-serif; + overflow: clip; } .navbar { @@ -27,8 +32,8 @@ body { .sidebar { height: 100%; - width: 200px; - position: fixed; + width: 15%; + float: left; border-right: 1px solid #AAAAAA; } @@ -46,8 +51,17 @@ body { margin-bottom: 10px; } +.clearfix::after { + content: ""; + clear: both; + display: table; +} + .content { padding: 20px; - margin-left: 200px; + float: left; + width: 85%; + height: 100%; color: #000040; + overflow: auto; } diff --git a/template.tpl b/template.tpl index bc55eeb..f4bd1a7 100755 --- a/template.tpl +++ b/template.tpl @@ -10,7 +10,7 @@ Private page -