3
0

Update resource list min height to 45rem

This commit is contained in:
Jože Fortun 2024-06-12 11:39:57 +02:00
parent e6c76a1d7e
commit 19076f6537

View File

@ -1,10 +1,12 @@
<template> <template>
<b-card <b-card
id="resource-list-wrapper"
no-body no-body
footer-bg-variant="light" footer-bg-variant="light"
footer-class="p-0" footer-class="p-0"
:header-class="`border-0 ${cardHeaderClass}`" :header-class="`border-0 ${cardHeaderClass}`"
class="shadow-sm" class="shadow-sm"
style="min-height: 45rem;"
> >
<template #header> <template #header>
<b-container <b-container
@ -157,18 +159,18 @@
v-if="showFooter" v-if="showFooter"
#footer #footer
> >
<div class="resource-list-footer d-flex align-items-center flex-wrap justify-content-between px-3 py-2 gap-1"> <div class="resource-list-footer d-flex align-items-center flex-wrap px-3 py-2 gap-2">
<div class="d-flex align-items-center flex-wrap gap-3 gap-col-3"> <div class="d-flex align-items-center flex-wrap gap-2">
<div <div
v-if="!hideTotal" v-if="!hideTotal"
class="text-nowrap text-truncate" class="text-nowrap text-truncate py-1"
> >
{{ getPagination }} {{ getPagination }}
</div> </div>
<div <div
v-if="!hidePerPageOption" v-if="!hidePerPageOption"
class="d-flex align-items-center gap-1 text-nowrap" class="d-flex align-items-center gap-1 text-nowrap ml-auto"
> >
<span> <span>
{{ $t('general:resourceList.pagination.recordsPerPage') }} {{ $t('general:resourceList.pagination.recordsPerPage') }}
@ -185,7 +187,7 @@
<div <div
v-if="!hidePagination" v-if="!hidePagination"
class="d-flex align-items-center justify-content-end" class="d-flex align-items-center ml-auto"
> >
<b-button-group class="gap-1"> <b-button-group class="gap-1">
<b-button <b-button