diff --git a/extension/notes.css b/extension/notes.css index 92fb307..6dffd2c 100644 --- a/extension/notes.css +++ b/extension/notes.css @@ -1,6 +1,6 @@ html, body { margin: 0; - min-width: 100vw; + height: 100%; } textarea { @@ -8,6 +8,7 @@ textarea { border: none; color: inherit; resize: none; + height: 100%; } table { @@ -171,5 +172,24 @@ table { select { border: none; - background-color: #EEEEEE; + /* background-color: #EEEEEE; */ +} + +/* https://stackoverflow.com/questions/90178/make-a-div-fill-the-height-of-the-remaining-screen-space */ +.box { + display: flex; + flex-flow: column; + height: 100vh; +} + +.box .row.header { + flex: 0 1 auto; +} + +.box .row.content { + flex: 1 1 auto; +} + +.box .row.footer { + flex: 0 1 20px; } diff --git a/extension/notes.html b/extension/notes.html index 48a34f6..c2f3931 100644 --- a/extension/notes.html +++ b/extension/notes.html @@ -8,31 +8,34 @@ Note Taker -
-
- - - General Notes - +
+
+
+ + + General Notes + +
-
-
-
- - Are you sure you want to delete the note:
- -
-
-
Yes
-
No
+
+
+ + Are you sure you want to delete the note:
+ +
+
+
Yes
+
No
+
-
-
- Tab 1 -
- -
+
+ Tab 1 +
+
+ +
+