Skip to content

A self-hosted media server and file management system

fix: cls on history page on load

aminnausinb1273a165f3a
diff --git a/resources/js/components/cedar-ui/table/TableBase.vue b/resources/js/components/cedar-ui/table/TableBase.vue
index f44ce406..3a7bc971 100644
--- a/resources/js/components/cedar-ui/table/TableBase.vue
+++ b/resources/js/components/cedar-ui/table/TableBase.vue
@@ -98,7 +98,7 @@ onMounted(() => {
</ButtonIcon>
</div>
</section>
- <section :class="cn(useGrid || 'flex w-full flex-wrap gap-2', tableStyles)">
+ <section :class="cn(useGrid || 'flex w-full flex-1 flex-col flex-wrap gap-2', tableStyles)">
<TableLoadingSpinner v-if="loading || pageData?.length === 0" :is-loading="loading" :data-length="pageData?.length" :no-results-message="noResultsMessage" />
<template v-else>
<template v-for="(row, index) in pageData" :key="row.id">
diff --git a/resources/js/views/HistoryView.vue b/resources/js/views/HistoryView.vue
index 36081689..988240eb 100755
--- a/resources/js/views/HistoryView.vue
+++ b/resources/js/views/HistoryView.vue
@@ -93,8 +93,9 @@ onMounted(() => {
<template>
<LayoutBase>
<template v-slot:content>
- <section id="content-history" class="3xl:min-h-[60vh] space-y-2 lg:min-h-[80vh]">
+ <section id="content-history" class="3xl:min-h-[60vh] flex flex-col space-y-2 lg:min-h-[80vh]">
<TableBase
+ :class="'flex-1'"
:data="filteredRecords"
:row="RecordCardDetails"
:clickAction="handleDelete"