Skip to content
This repository has been archived by the owner on Dec 28, 2024. It is now read-only.

Commit

Permalink
Demo and Restore dialogs scroll if longer than 300px.
Browse files Browse the repository at this point in the history
  • Loading branch information
TechplexEngineer committed Jan 2, 2012
1 parent 0cba837 commit b2c814c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 3 additions & 3 deletions garden.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ <h2>Save the current script</h2>
</div>
</div>
<div class="hidden dialog" id="restore_dialog">
<div id="save_dialog_contents">
<div id="restore_dialog_contents">
<h2>Restore a script</h2>
<ul id="script_list">
<ul class="scrollList" id="script_list">
</ul>
<button class="cancel">Cancel</button>
<button class="exp">From Export</button>
Expand All @@ -74,7 +74,7 @@ <h2>Restore a script</h2>
<div class="hidden dialog" id="demos_dialog">
<div id="demos_dialog_contents">
<h2>Load a demo</h2>
<ul id="demo_list">
<ul class="scrollList" id="demo_list">
</ul>
<button class="cancel">Cancel</button>
</div>
Expand Down
6 changes: 5 additions & 1 deletion stylesheets/workspace.css
Original file line number Diff line number Diff line change
Expand Up @@ -301,4 +301,8 @@ html, body {
overflow: hidden;
}


/* Lists of scripts to scroll. Used in demo & restore dialog*/
.scrollList{
max-height: 300px;
overflow-y:scroll;
}

0 comments on commit b2c814c

Please sign in to comment.