Skip to content

Commit

Permalink
🐛 (grapher) adjust medium breakpoint (#3160)
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiamersmann authored Feb 1, 2024
1 parent 3b4eb86 commit 85258e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@ourworldindata/grapher/src/core/Grapher.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2681,7 +2681,7 @@ export class Grapher
// (e.g. stand-alone charts in the main text of an article)
@computed get isMedium(): boolean {
if (this.isStatic) return false
return this.renderWidth <= 840
return this.renderWidth <= 845
}

@computed get isStaticAndSmall(): boolean {
Expand Down

0 comments on commit 85258e3

Please sign in to comment.