Skip to content

Commit

Permalink
Merge pull request #1 from bjsi/patch-1
Browse files Browse the repository at this point in the history
Make popup widget scrollable
  • Loading branch information
Justtolook committed Sep 8, 2022
2 parents 4d5f30c + fed9d41 commit 1680412
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/widgets/statistics.tsx
Expand Up @@ -18,7 +18,7 @@ export const Statistics = () => {
chartColor = chartColorSettings;
}

return <div class="statisticsBody">
return <div style={{ maxHeight: "calc(90vh)" }} class="statisticsBody overflow-y-auto">
<div><b>Retention rate: </b> {(retentionRate(getNumberRepetitionsGroupedByScore(allCards)))}</div>
<div class="vSpacing-1rem"/>
{chart_column(
Expand Down Expand Up @@ -336,4 +336,4 @@ function getRepetitionsPerDayObject () {
}


renderWidget(Statistics);
renderWidget(Statistics);

0 comments on commit 1680412

Please sign in to comment.