mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Interactions: Reduce the container size on the map demo, makes it a little more intersting on big screens
This commit is contained in:
parent
3df4bc1b01
commit
a065d35e10
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user