feat: add mobile css

This commit is contained in:
Matthieu CAILLEAUX
2022-04-27 23:36:15 +02:00
parent b16967c351
commit 049c77a004
19 changed files with 639 additions and 319 deletions

View File

@@ -1,10 +1,17 @@
import { AbstractElement } from './abstract-element';
import jsPDF from 'jspdf';
import { Box } from './box';
import { IContext } from './context';
export class Blank extends Box {
constructor(x: number, y: number, w: number, h: number) {
super(x, y, w, h);
constructor(
x: number,
y: number,
w: number,
h: number,
context: Partial<IContext> = AbstractElement.DEFAULT_CONTEXT
) {
super(x, y, w, h, context);
}
public static heightBlank(h: number) {