Commit 93962cb5 authored by Yuanle Song's avatar Yuanle Song
Browse files

make UI auto height based on keyboard height.

parent 7cb808da
Loading
Loading
Loading
Loading
+8 −5
Original line number Diff line number Diff line
@@ -14,14 +14,14 @@
	  border: 1px skyblue solid;
      }
      #container > div {
	  border: 1px grey dotted;
	  /* border: 1px grey dotted; */
      }
      #container > div > p {
	  margin: 10px;
      }
      #stack {
	  width: 200px;
	  height: 500px;
	  height: 100%;
      }
      #stack-content {
	  margin-left: 10px;
@@ -34,11 +34,13 @@
      }
      #keyboard {
	  width: 300px;
	  height: 500px;
	  height: 100%;
	  border-left: 1px skyblue dotted;
	  border-right: 1px skyblue dotted;
      }
      #trail {
	  width: 200px;
	  height: 500px;
	  height: 100%;
      }
      #trail-content {
	  margin-left: 10px;
@@ -53,6 +55,7 @@
      .keyboard {
	  font-size: 1.2em;
	  text-align: center;
	  padding-bottom: 10px;
      }
      .keyboard table {
	  margin: 2px auto;
@@ -65,7 +68,7 @@
      }
      #number-display {
	  font-family: monospace;
	  border: 1px grey solid;
	  border: 1px skyblue solid;
	  width: 100%;
	  max-width: 150px;	/*just set to something small and it works in chrome.*/
	  overflow: auto;
+3 −0
Original line number Diff line number Diff line
@@ -60,6 +60,9 @@ the parent DOM.
** 
** 2017-01-27 add a button: sqrt				 :featurereq:
** 2017-01-27 add a button: sum-all, it will sum all numbers on stack. :featurereq:
- make UI auto height based on keyboard height.
- 

** 2017-01-27 accept keyboard event as well.		     :low:featurereq:
- num0 to num9
- dot