We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cbe5d3 commit 57d6972Copy full SHA for 57d6972
os-checks/pages/info.vue
@@ -343,6 +343,8 @@ watch(selectedPkg, val => {
343
344
const tableHeight = ref("800px");
345
onMounted(() => {
346
+ const viewportHeight = window.innerHeight;
347
+ tableHeight.value = `${viewportHeight * 0.8}px`;
348
window.addEventListener('resize', () => {
349
const viewportHeight = window.innerHeight;
350
tableHeight.value = `${viewportHeight * 0.8}px`;
0 commit comments