Merge branch '49-free-rooms-table-button-fix' into 'main'

49 free rooms table buttons layout

Closes #49

See merge request ekresse/htwkalender!40
This commit is contained in:
ekresse
2024-04-03 07:14:08 +00:00

View File

@ -129,12 +129,12 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
/>
</template>
<template #body="slotProps">
<div class="flex justify-content-between flex-wrap">
<div class="align-self-center">{{ slotProps.data.room }}</div>
<div class="flex flex-column sm:flex-row justify-content-between flex-1 column-gap-4 mx-2 md:mx-4">
<p class="flex-1 align-self-stretch sm:align-self-center my-2">{{ slotProps.data.room }}</p>
<Button
:label="$t('freeRooms.viewOccupancy')"
icon="pi pi-hourglass"
class="p-button-rounded p-button-outlined"
class="p-button-rounded p-button-outlined sm:align-self-center align-self-end"
@click="occupationRoute(slotProps.data.room)"
/>
</div>