Skip to content

Commit

Permalink
Add incomplete sticky definitionContainer
Browse files Browse the repository at this point in the history
  • Loading branch information
compupro committed Nov 13, 2018
1 parent af6fa16 commit 1c6f3f1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
1 change: 0 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
<input type="button" onclick="processInput();" value="Go!"></input>
<hr>
<div id="wordElementContainer"></div>
<hr>
<div id="definitionContainer"></div>
<!--TEMPORARY TEST ROUTINE SCRIPT-->
<script type="text/javascript" src="tests.js"></script>
Expand Down
12 changes: 12 additions & 0 deletions main.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,16 @@
table {
border: 1px solid black;
margin-left: 5px;
}

#definitionContainer {
background-color: white;
position: sticky;
bottom: 0;
height: 25%;
overflow-y: auto;
border: 1px solid black;
padding-left: 5px;
padding-right: 5px;
padding-bottom: 5px;
}

0 comments on commit 1c6f3f1

Please sign in to comment.