Closed atu-record closed 6 years ago
I am having no problems with Pattern Lab Node
my config
"ishViewportRange": {
"s": [240, 500],
"m": [500, 800],
"l": [800, 2600]
},
clicking full
brings ish viewport to currentviewport
no ishMaximum defined
@bmuenzenmeyer of course if i define the config, like you did ... it resizes to maximum vieport size. but by default i does not work. i guess i does not matter if you use node or php ... its a an styleguide.js issue
fixed via https://www.npmjs.com/package/styleguidekit-assets-default 3.5.2
seems it is not availabe via composer
styleguidekit-twig-default is not a repo I was aware of until just now.
this fix was for the official cross-platform mustache assets
as ishViewportRange is defined by default in pattern-lab/core/config/config.yml.default on line 48
pressing the full width button in the styleguide always causes to resize maximal to 1200.
styleguide.js line 24