fix: FilterPanel when is multiline and VnTable vh on n toolbar #1657

Merged
jsegarra merged 15 commits from fix_itemFilter_multiLine into dev 2025-04-08 10:17:25 +00:00
2 changed files with 0 additions and 11 deletions
Showing only changes of commit a1490a798b - Show all commits

View File

@ -33,7 +33,6 @@ import VnTableOrder from 'src/components/VnTable/VnOrder.vue';
import VnTableFilter from './VnTableFilter.vue';
import { getColAlign } from 'src/composables/getColAlign';
import RightMenu from '../common/RightMenu.vue';
import calcTableHeight from './filters/calculateTableHeight';
const arrayData = useArrayData(useAttrs()['data-key']);
const $props = defineProps({

View File

@ -1,10 +0,0 @@
export default function () {
let height = 100;
Array.from(document.querySelectorAll('[role="toolbar"]'))
.filter((element) => window.getComputedStyle(element).display !== 'none')
.forEach(() => {
height -= 10;
});
console.error(height);
return height + 'vh';
}