Set max-width and MIN_ZOOM

This might have some side effects but as far as I can tell they shouldn't be too problematic

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-03-16 19:57:14 +01:00
parent 8f6f9cd6fa
commit c96d2621a0
No known key found for this signature in database
GPG key ID: 9760693FDD98A790
2 changed files with 3 additions and 1 deletions

View file

@ -31,7 +31,7 @@ import {formatFullDate} from "../../../DateUtils";
import dis from '../../../dispatcher/dispatcher';
import {replaceableComponent} from "../../../utils/replaceableComponent";
const MIN_ZOOM = 95;
const MIN_ZOOM = 100;
const MAX_ZOOM = 300;
// This is used for the buttons
const ZOOM_STEP = 10;