Interactions: Reduce the container size on the map demo, makes it a little more intersting on big screens

This commit is contained in:
Jörn Zaefferer 2012-03-06 19:34:47 +01:00
parent 3df4bc1b01
commit a065d35e10

View File

@ -13,7 +13,7 @@
<link rel="stylesheet" href="../demos.css">
<style>
html, body, .demo { height: 90%; }
#map { width: 100%; height: 100%; max-width: 640px; overflow: hidden; position: relative; }
#map { width: 100%; height: 100%; max-width: 320px; overflow: hidden; position: relative; }
#map img { position: absolute; cursor: pointer; }
#map .ui-draggable-dragging { cursor: url('closedhand.cur'), move; }
</style>
@ -73,7 +73,7 @@
<div class="demo-description">
<p>Drag the map around inside the viewport. Works with touch devices.</p>
<p>Drag the map around inside the viewport. Works with touch devices. The container is kept small for the demo to work.</p>
</div><!-- End demo-description -->
</body>