classes and size improvements
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
William Buezas 2024-04-09 15:20:29 -03:00
parent faa8d05313
commit 9bffc9bb25
3 changed files with 9 additions and 20 deletions

View File

@ -50,10 +50,9 @@ const containerClasses = computed(() => {
} }
.transparent-background { .transparent-background {
.q-calendar-month > * { --calendar-background-dark: transparent;
background-color: var(--vn-section-color) !important; --calendar-background: transparent;
--calendar-outside-background-dark: #transparent; --calendar-outside-background-dark: transparent;
}
} }
.nav-container { .nav-container {

View File

@ -180,7 +180,7 @@ watch([year, businessFk], () => refreshData());
/> />
</QScrollArea> </QScrollArea>
</QDrawer> </QDrawer>
<QPage class="column items-center q-pa-md"> <QPage class="column items-center">
<QCard v-if="!hasWorkCenter"> <QCard v-if="!hasWorkCenter">
<QCardSection class="text-center"> <QCardSection class="text-center">
{{ t('Autonomous worker') }} {{ t('Autonomous worker') }}
@ -218,24 +218,14 @@ watch([year, businessFk], () => refreshData());
<style lang="scss" scoped> <style lang="scss" scoped>
.calendar-container { .calendar-container {
display: grid; display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: 32px; gap: 32px;
grid-template-columns: repeat(3, minmax(0, 334px));
padding: 40px; padding: 40px;
justify-content: center; justify-content: center;
} }
@media (max-width: $breakpoint-md) {
.calendar-container {
grid-template-columns: repeat(2, minmax(0, 334px));
}
}
@media (max-width: $breakpoint-xs) {
.calendar-container {
grid-template-columns: repeat(1, minmax(0, 334px));
}
}
</style> </style>
<i18n> <i18n>

View File

@ -174,7 +174,7 @@ watch(_year, (newValue) => {
<template> <template>
<QCalendarMonthWrapper <QCalendarMonthWrapper
style="height: 290px" style="height: 290px; width: 310px"
class="outline" class="outline"
bordered bordered
transparent-background transparent-background