Skip to content

Commit 98ee886

Browse files
committed
chore: remove WIP comments added during previous refactor work
1 parent e83d858 commit 98ee886

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

packages/uikit-workshop/src/scripts/components/modal-viewer.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff 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
/**

0 commit comments

Comments
 (0)