# HG changeset patch # User Alexandre Segura # Date 1497449200 -7200 # Node ID 238818343253d2ff098376b1898dca13d659dc96 # Parent 52f7a51ef9482cb2253c284c66f24125d085c040 Stick editor to bottom. diff -r 52f7a51ef948 -r 238818343253 .editorconfig --- a/.editorconfig Wed Jun 14 15:29:01 2017 +0200 +++ b/.editorconfig Wed Jun 14 16:06:40 2017 +0200 @@ -8,6 +8,6 @@ insert_final_newline = true trim_trailing_whitespace = true -[*.js] +[*.js,*.css] indent_style = space indent_size = 2 diff -r 52f7a51ef948 -r 238818343253 client/src/App.scss --- a/client/src/App.scss Wed Jun 14 15:29:01 2017 +0200 +++ b/client/src/App.scss Wed Jun 14 16:06:40 2017 +0200 @@ -4,6 +4,11 @@ text-align: center; } +#root { + height: 100%; + padding-bottom: 270px; +} + .App-logo { animation: App-logo-spin infinite 20s linear; height: 80px; @@ -117,3 +122,13 @@ text-decoration-style: dotted; } + +.editor-fixed { + border-top: 1px solid #efefef; + background-color: #fff; + padding: 20px 0; + position: fixed; + height: 270px; + bottom: 0; + width: 100%; +} diff -r 52f7a51ef948 -r 238818343253 client/src/components/Note.js --- a/client/src/components/Note.js Wed Jun 14 15:29:01 2017 +0200 +++ b/client/src/components/Note.js Wed Jun 14 16:06:40 2017 +0200 @@ -3,7 +3,7 @@ const Note = ({note}) => { return ( -
+
{note.startedAt} {note.finishedAt}
diff -r 52f7a51ef948 -r 238818343253 client/src/components/Session.js --- a/client/src/components/Session.js Wed Jun 14 15:29:01 2017 +0200 +++ b/client/src/components/Session.js Wed Jun 14 16:06:40 2017 +0200 @@ -75,11 +75,18 @@ -
- +
+ + + + + + + +
); }