scroll fixed

This commit is contained in:
suricatingss
2025-12-06 13:42:56 +00:00
parent c28c0a41cc
commit cddfa0b3b9

View File

@@ -1,5 +1,6 @@
<script lang="ts" setup> <script lang="ts" setup>
import type { TableColumn } from "@nuxt/ui" import type { TableColumn } from "@nuxt/ui"
//import UBadge from "@nuxt/ui";
import { h } from 'vue' import { h } from 'vue'
definePageMeta({ definePageMeta({
@@ -114,14 +115,14 @@ import { h } from 'vue'
{ {
accessorKey: 'amount', accessorKey: 'amount',
header: "Ammount", header: "Ammount",
cell: ({ row }) => { return "€" + row.getValue('amount') } cell: ({ row }) => { return h('span', {class: "text-success"},"€" + row.getValue('amount')) }
} }
] ]
</script> </script>
<template> <template>
<UContainer> <UContainer class="overflow-auto">
<UDashboardSidebarToggle variant="subtle" class="absolute z-20 top-3 left-2.5"/> <UDashboardSidebarToggle variant="subtle" class="absolute z-20 top-3 left-2.5"/>
@@ -139,16 +140,25 @@ import { h } from 'vue'
:description="card.desc" :description="card.desc"
:icon="card.icon" :icon="card.icon"
variant="subtle" variant="subtle"
class="dark-widget-bg col-lg lg:rounded-none first:lg:rounded-l-2xl last:lg:rounded-r-2xl sm:rounded-2xl" class="dark-widget-bg lg:rounded-none first:lg:rounded-l-2xl last:lg:rounded-r-2xl sm:rounded-2xl"
/> />
</UPageGrid> </UPageGrid>
<div class="max-w-full flex-shrink-0 overflow-y-visible">
<UTable :data="table_demo" :columns="table_headers" class="flex-1 "/>
</div>
<UTable :data="table_demo" :columns="table_headers"/>
<UFooter>
<p>footer</p>
</UFooter>
</UContainer> </UContainer>
</template> </template>
<style scoped> <style scoped>
@import "bootstrap/dist/css/bootstrap-grid.css";
body {
overflow: hidden;
height: 100%;
}
</style> </style>