Browse Source

fix(gui-v2): correct height for container

pull/2837/head
braks 2 years ago
parent
commit
033dfaba0b
  1. 2
      packages/nc-gui-v2/components/smartsheet/Toolbar.vue
  2. 2
      packages/nc-gui-v2/pages/nc/[projectId]/index/index.vue

2
packages/nc-gui-v2/components/smartsheet/Toolbar.vue

@ -1,7 +1,7 @@
<script setup lang="ts"></script>
<template>
<div class="nc-table-toolbar w-100 p-1 flex gap-1 align-center" style="z-index: 7">
<div class="nc-table-toolbar w-full py-1 flex gap-1 items-center" style="z-index: 7">
<SmartsheetToolbarSearchData class="flex-shrink" />
<SmartsheetToolbarFieldsMenu :show-system-fields="false" />

2
packages/nc-gui-v2/pages/nc/[projectId]/index/index.vue

@ -142,7 +142,7 @@ function openQuickImportDialog(type: string) {
<style scoped>
.nc-container {
height: calc(100% + var(--header-height));
height: calc(100vh + var(--header-height));
@apply overflow-hidden;
}

Loading…
Cancel
Save