Skip to content

Commit

Permalink
Merge pull request #1826 from Maniktherana/fix-graph-mobile
Browse files Browse the repository at this point in the history
fix: add minimum width to graphs
  • Loading branch information
Kobzol authored Mar 1, 2024
2 parents 91cddf9 + 3fd5021 commit 4d2e44e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/frontend/src/pages/graphs/page.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ async function loadGraphData(selector: GraphsSelector, loading: Ref<boolean>) {
// Then draw the plots.
await nextTick();
const width = Math.floor(window.innerWidth / 4) - 40;
const width = Math.max(Math.floor(window.innerWidth / 4) - 40, 380);
const opts = {width};
// If we select a smaller subset of benchmarks, then just show them.
Expand Down

0 comments on commit 4d2e44e

Please sign in to comment.