Adrià Vilanova MartÃnez | 3b585fd | 2024-11-10 19:17:31 +0100 | [diff] [blame] | 1 | import StylesheetScript from '../../../../common/architecture/scripts/stylesheet/StylesheetScript'; |
2 | |||||
3 | export 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 | } |