[balance] fix some style for mobile
This commit is contained in:
parent
57e468f1f4
commit
7395b1f288
|
@ -63,7 +63,6 @@ import { setBaseURL, api } from 'boot/axios';
|
||||||
import { notEmpty } from 'src/utils/validators';
|
import { notEmpty } from 'src/utils/validators';
|
||||||
import { useUserStore } from 'src/plugins/user/store';
|
import { useUserStore } from 'src/plugins/user/store';
|
||||||
import PasswordInput from 'src/components/utils/PasswordInput.vue';
|
import PasswordInput from 'src/components/utils/PasswordInput.vue';
|
||||||
import { useQuasar } from 'quasar';
|
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: 'Login',
|
name: 'Login',
|
||||||
|
@ -78,7 +77,6 @@ export default defineComponent({
|
||||||
const password = ref('');
|
const password = ref('');
|
||||||
const server = ref<string | undefined>(api.defaults.baseURL);
|
const server = ref<string | undefined>(api.defaults.baseURL);
|
||||||
const visible = ref(false);
|
const visible = ref(false);
|
||||||
const $q = useQuasar()
|
|
||||||
|
|
||||||
function openServerSettings() {
|
function openServerSettings() {
|
||||||
visible.value = !visible.value;
|
visible.value = !visible.value;
|
||||||
|
@ -152,7 +150,6 @@ export default defineComponent({
|
||||||
server,
|
server,
|
||||||
userid,
|
userid,
|
||||||
visible,
|
visible,
|
||||||
$q
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
</q-td>
|
</q-td>
|
||||||
<q-td key="balance" :props="props">
|
<q-td key="balance" :props="props">
|
||||||
{{ getBalance(props.row.debit, props.row.credit) }}€
|
{{ getBalance(props.row.debit, props.row.credit) }}€
|
||||||
<q-menu anchor="bottom middle" self="top middle">
|
<q-menu anchor="bottom middle" self="top middle" :persistent='$q.platform.is.mobile'>
|
||||||
<q-card>
|
<q-card>
|
||||||
<q-card-section>
|
<q-card-section>
|
||||||
<q-tab-panels v-model="tab" animated>
|
<q-tab-panels v-model="tab" animated>
|
||||||
|
@ -64,6 +64,9 @@
|
||||||
</q-tab-panel>
|
</q-tab-panel>
|
||||||
</q-tab-panels>
|
</q-tab-panels>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
|
<div v-if='$q.platform.is.mobile' class='full-width row justify-center'>
|
||||||
|
<q-btn label='Abbrechen' v-close-popup flat color='primary'/>
|
||||||
|
</div>
|
||||||
<q-tabs
|
<q-tabs
|
||||||
v-model="tab"
|
v-model="tab"
|
||||||
dense
|
dense
|
||||||
|
|
Loading…
Reference in New Issue