Selaa lähdekoodia

Merge pull request #6873 from daoshengmu/SSAO

Fix info element blocks config menu in SSAO demo
Ricardo Cabello 10 vuotta sitten
vanhempi
commit
73d27538cf
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 3 3
      examples/webgl_postprocessing_ssao.html

+ 3 - 3
examples/webgl_postprocessing_ssao.html

@@ -28,12 +28,12 @@ Spiral sampling http://web.archive.org/web/20120421191837/http://www.cgafaq.info
 
 			#info {
 				color:#fff;
-				position: absolute;
+				position: relative;
 				top: 0px;
-				width: 100%;
+				width: 40em;
+				margin: 0 auto -1.86em;
 				padding: 5px;
 				z-index:100;
-				text-align: center;
 			}
 		</style>
 	</head>