fix(webui): change grid size for sm screens

This commit is contained in:
Gauthier Roebroeck 2020-08-14 16:49:20 +08:00
parent 48e92c7580
commit 18280beb95

View file

@ -2,8 +2,6 @@ export function computeCardWidth (width: number, breakpoint: string, cardPadding
switch (breakpoint) {
case 'xs':
return (width - (cardPadding * 2)) / 2
case 'sm':
return (width - (cardPadding * 3)) / 3
default:
return 150
}