Skip to content

Commit

Permalink
Full height and width to ensure that the div fills the whole element.
Browse files Browse the repository at this point in the history
Otherwise, it was possible that percentual heights were not propagated correctly as the saw-div did not have the same height as the resize-aware element.
Also fixed the CSS style which refered to the element saw but was probably meant for the div with the id "saw"
  • Loading branch information
Radulf321 committed Feb 28, 2018
1 parent 658e4ad commit 6d51d12
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion resize-aware.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
position: relative;
}

saw {
#saw {
height: 100%;
width: 100%;
display: inline-block;
margin: 0px;
padding: 0px;
Expand Down

0 comments on commit 6d51d12

Please sign in to comment.