Browse Source

Made the docs column layout cross-browser friendly

thorsummoner 11 years ago
parent
commit
40cbb76572
1 changed files with 3 additions and 2 deletions
  1. 3 2
      docs/index.html

+ 3 - 2
docs/index.html

@@ -17,7 +17,7 @@
 
 			body {
 				margin: 0;
-				padding: 0;
+				padding: 0 0 0 260px;
 				height: 100%;
 				color: #555;
 				font-family: 'inconsolata';
@@ -33,6 +33,7 @@
 
 			#panel	{
 				position: fixed;
+				left: 0;
 				width: 260px;
 				height: 100%;
 				overflow: auto;
@@ -72,7 +73,7 @@
 
 			#viewer {
 				border: 0px;
-				margin-left: 260px;
+				width: 100%;
 				width: -webkit-calc(100% - 260px);
 				width: -moz-calc(100% - 260px);
 				width: calc(100% - 260px);