# HG changeset patch # User Alexandre Segura # Date 1498125507 -7200 # Node ID 7e8cdc74d86f648a427495cb04c872a436ad391d # Parent 7634b424f426a6135b95293ffb1f5607f772e8da Make session summary scrollable. diff -r 7634b424f426 -r 7e8cdc74d86f client/src/App.scss --- a/client/src/App.scss Thu Jun 22 10:47:10 2017 +0200 +++ b/client/src/App.scss Thu Jun 22 11:58:27 2017 +0200 @@ -112,6 +112,10 @@ } .notes-affix { min-width: 25%; + > *:first-child { + max-height: calc(100% - 20px); + overflow-y: auto; + } } .notes-list { overflow-y: auto; diff -r 7634b424f426 -r 7e8cdc74d86f client/src/components/SessionSummary.js --- a/client/src/components/SessionSummary.js Thu Jun 22 10:47:10 2017 +0200 +++ b/client/src/components/SessionSummary.js Thu Jun 22 11:58:27 2017 +0200 @@ -7,18 +7,16 @@ class SessionSummary extends Component { render() { return ( - - - {this.props.notes.map((note) => - - - {note.startedAt} → {note.finishedAt} - {_.words(note.plain).length} words - - - )} - - + + {this.props.notes.map((note) => + + + {note.startedAt} → {note.finishedAt} + {_.words(note.plain).length} words + + + )} + ); } }