File tree Expand file tree Collapse file tree
packages/uikit-workshop/src/scripts/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -139,12 +139,6 @@ export const modalViewer = {
139139 hide ( ) {
140140 $ ( '.pl-js-modal' ) . removeClass ( 'pl-is-active' ) ;
141141 $ ( '.pl-js-modal' ) . removeAttr ( 'style' ) ; // remove inline height CSS
142-
143- // WIP: refactoring viewport panel to use CSS vars to resize
144- // $('html').css(
145- // '--pl-viewport-height',
146- // window.innerHeight - 32 + 'px'
147- // );
148142 } ,
149143
150144 /**
@@ -241,12 +235,6 @@ export const modalViewer = {
241235 */
242236 show ( ) {
243237 $ ( '.pl-js-modal' ) . addClass ( 'pl-is-active' ) ;
244-
245- // WIP: refactoring viewport panel to use CSS vars to resize
246- // $('html').css(
247- // '--pl-viewport-height',
248- // window.innerHeight - $('.pl-js-modal').innerHeight() - 32 + 'px'
249- // );
250238 } ,
251239
252240 /**
You can’t perform that action at this time.
0 commit comments