Skip to content

Commit

Permalink
Adjust the custom viewport
Browse files Browse the repository at this point in the history
* Allow resizing
  • Loading branch information
zoglo committed Nov 5, 2024
1 parent c77d167 commit 90137a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contao/dca/tl_layout.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
];

// Set custom viewport
$GLOBALS['TL_DCA']['tl_layout']['fields']['viewport']['default'] = 'width=device-width,initial-scale=1.0,user-scalable=no';
$GLOBALS['TL_DCA']['tl_layout']['fields']['viewport']['default'] = 'width=device-width,initial-scale=1.0,maximum-scale=5.0';

// Include ThemeManager JavaScript template
$GLOBALS['TL_DCA']['tl_layout']['fields']['scripts']['default'] = [0 => 'js_ctm_core'];

0 comments on commit 90137a9

Please sign in to comment.