Custom Viewports Size
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3567911. -->
Reported by: [matteo_p](https://www.drupal.org/user/3858240)
Related to !488
>>>
<h3 id="overview">Overview</h3>
<p>Hey !</p>
<p>I work for a company that use develop with Drupal for one of our client,<br>
The client has custom viewports for their models, so i wanted to apply their viewport to Drupal Canvas with a custom module.</p>
<p>But, Canvas use typescript and is compiled, i found the place where the viewports are defined but i don't want to edit tu module for next updates, and my pipeline actually doesn't take the "contrib" modules.</p>
<h3 id="proposed-resolution">Proposed resolution</h3>
<p>I juste proposed to add a new method to override theses viewports, for exemple with a window.canvas.custom_viewport ?</p>
<h3 id="ui-changes">User interface changes</h3>
<p>There is no changes on the user interface</p>
issue