refs #6118 importSalixVariables #93

Merged
pablone merged 19 commits from 6118-responsiveFixes into dev 2023-10-30 10:32:15 +00:00
3 changed files with 15 additions and 9 deletions
Showing only changes of commit 7c20ee2a42 - Show all commits

View File

@ -138,13 +138,7 @@ watch(formUrl, async () => {
/> />
</template> </template>
<style lang="scss"> <style lang="scss" scopped>
@media screen and (max-width: 800px) {
.q-card > div {
flex-direction: column;
}
}
.formModel { .formModel {
max-width: 800px; max-width: 800px;
width: 100%; width: 100%;

View File

@ -0,0 +1,11 @@
<script setup></script>
<template>
<div class="q-pa-md example-row-equal-width"></div>
</template>
<style lang="scss" scoped>
.formModel {
max-width: 800px;
width: 100%;
}
</style>

View File

@ -6,6 +6,7 @@ import { useI18n } from 'vue-i18n';
import { useSession } from 'src/composables/useSession'; import { useSession } from 'src/composables/useSession';
import FetchData from 'components/FetchData.vue'; import FetchData from 'components/FetchData.vue';
import FormModel from 'components/FormModel.vue'; import FormModel from 'components/FormModel.vue';
import RowWrapper from 'components/RowWrapper.vue';
const route = useRoute(); const route = useRoute();
const { t } = useI18n(); const { t } = useI18n();
@ -61,7 +62,7 @@ const filterOptions = {
<div class="column items-center"> <div class="column items-center">
<FormModel :url="`Clients/${route.params.id}`" model="customer"> <FormModel :url="`Clients/${route.params.id}`" model="customer">
<template #form="{ data, validate, filter }"> <template #form="{ data, validate, filter }">
<div class="row q-gutter-md q-mb-md"> <RowWrapper class="row q-gutter-md q-mb-md">
<div class="col"> <div class="col">
<QInput <QInput
v-model="data.socialName" v-model="data.socialName"
@ -83,7 +84,7 @@ const filterOptions = {
:input-debounce="0" :input-debounce="0"
/> />
</div> </div>
</div> </RowWrapper>
<div class="row q-gutter-md q-mb-md"> <div class="row q-gutter-md q-mb-md">
<div class="col"> <div class="col">
<QInput <QInput