blob: 9befaa9d74bf0deb469c65e885b5abda9d1a77d5 [file] [log] [blame]
Adrià Vilanova Martínez3b585fd2024-11-10 19:17:31 +01001import StylesheetScript from '../../../../common/architecture/scripts/stylesheet/StylesheetScript';
2
3export default class ImageMaxHeightStylesScript extends StylesheetScript {
4 stylesheet = 'css/image_max_height.css';
5 page: never;
6
7 async shouldBeInjected(): Promise<boolean> {
8 return await this.optionsProvider.isEnabled('imagemaxheight');
9 }
10}