Fixes
gitea/salix-front/pipeline/head There was a failure building this commit Details

This commit is contained in:
Joan Sanchez 2023-03-31 14:33:30 +02:00
parent 438ee55b50
commit 6fbaee320a
3 changed files with 8 additions and 9 deletions

View File

@ -34,7 +34,7 @@ onMounted(() => stateStore.setMounted());
</q-tooltip> </q-tooltip>
</q-btn> </q-btn>
<router-link to="/"> <router-link to="/">
<q-btn class="q-ml-xs" color="primary" v-if="$q.screen.gt.xs" flat round> <q-btn class="q-ml-xs" color="primary" flat round>
<q-avatar square size="md"> <q-avatar square size="md">
<q-img <q-img
src="~/assets/logo_icon.svg" src="~/assets/logo_icon.svg"
@ -47,7 +47,7 @@ onMounted(() => stateStore.setMounted());
</q-tooltip> </q-tooltip>
</q-btn> </q-btn>
</router-link> </router-link>
<q-toolbar-title shrink class="text-weight-bold" v-if="$q.screen.gt.xs"> <q-toolbar-title shrink class="text-weight-bold" v-if="$q.screen.gt.sm">
{{ appName }} {{ appName }}
<q-badge label="Beta" align="top" /> <q-badge label="Beta" align="top" />
</q-toolbar-title> </q-toolbar-title>

View File

@ -112,13 +112,11 @@ async function search() {
</template> </template>
<style lang="scss" scoped> <style lang="scss" scoped>
@media screen and (max-width: $breakpoint-xs-max) { .q-field {
.q-field { width: 250px;
width: 250px;
}
} }
@media screen and (min-width: $breakpoint-xs-max) { @media screen and (min-width: $breakpoint-sm-max) {
.q-field { .q-field {
width: 400px; width: 400px;
} }

View File

@ -167,6 +167,7 @@ async function confirmRemove() {
const orgData = store.data; const orgData = store.data;
const index = orgData.findIndex((item) => item.id === row.id); const index = orgData.findIndex((item) => item.id === row.id);
store.data.splice(index, 1); store.data.splice(index, 1);
selected.value = [];
} }
}); });
} }
@ -190,7 +191,7 @@ function showImportDialog() {
} }
</script> </script>
<template> <template>
<q-page-sticky class="z-top" position="top" :offset="[0, 0]" expand> <q-page-sticky position="top" :offset="[0, 0]" expand>
<q-toolbar class="bg-dark text-white"> <q-toolbar class="bg-dark text-white">
<q-toolbar-title> {{ t('Claimed lines') }} </q-toolbar-title> <q-toolbar-title> {{ t('Claimed lines') }} </q-toolbar-title>
<q-space /> <q-space />
@ -365,7 +366,7 @@ function showImportDialog() {
</div> </div>
<Teleport <Teleport
v-if="stateStore.isHeaderMounted() && $q.screen.gt.sm" v-if="stateStore.isHeaderMounted() && !$q.screen.lt.sm"
to="#actions-prepend" to="#actions-prepend"
> >
<div class="row q-gutter-x-sm"> <div class="row q-gutter-x-sm">