0
0
Fork 0

fix breadcrumbs & header: refs #5835

This commit is contained in:
Jorge Penadés 2023-12-20 15:43:09 +01:00
parent 5b79c2ace9
commit f3a1800cb0
4 changed files with 11 additions and 7 deletions

View File

@ -24,11 +24,8 @@ const pinnedModulesRef = ref();
</script> </script>
<template> <template>
<QHeader class="bg-dark" color="white" elevated> <QHeader color="white" elevated>
<QToolbar <QToolbar class="q-py-sm q-px-md">
class="q-py-sm q-px-md"
:class="{ 'q-gutter-x-sm': !quasar.platform.is.mobile }"
>
<QBtn @click="stateStore.toggleLeftDrawer()" icon="menu" round dense flat> <QBtn @click="stateStore.toggleLeftDrawer()" icon="menu" round dense flat>
<QTooltip bottom anchor="bottom right"> <QTooltip bottom anchor="bottom right">
{{ t('globals.collapseMenu') }} {{ t('globals.collapseMenu') }}
@ -108,6 +105,9 @@ const pinnedModulesRef = ref();
.searchbar { .searchbar {
width: max-content; width: max-content;
} }
.q-header {
background-color: var(--vn-dark);
}
</style> </style>
<i18n> <i18n>
en: en:

View File

@ -69,6 +69,10 @@ function getBreadcrumb(param) {
> div { > div {
flex-wrap: nowrap; flex-wrap: nowrap;
} }
&--last,
&__separator {
color: var(--vn-label);
}
} }
@media (max-width: $breakpoint-md) { @media (max-width: $breakpoint-md) {
.q-breadcrumbs { .q-breadcrumbs {

View File

@ -371,7 +371,7 @@ export default {
}, },
invoiceOut: { invoiceOut: {
pageTitles: { pageTitles: {
invoiceOuts: 'Fact. emitidas', invoiceOuts: 'Crear factura',
list: 'Listado', list: 'Listado',
negativeBases: 'Bases Negativas', negativeBases: 'Bases Negativas',
globalInvoicing: 'Facturación global', globalInvoicing: 'Facturación global',

View File

@ -11,13 +11,13 @@ export const useNavigationStore = defineStore('navigationStore', () => {
'claim', 'claim',
'ticket', 'ticket',
'invoiceOut', 'invoiceOut',
'invoiceIn',
'worker', 'worker',
'shelving', 'shelving',
'wagon', 'wagon',
'route', 'route',
'supplier', 'supplier',
'travel', 'travel',
'invoiceIn',
]; ];
const pinnedModules = ref([]); const pinnedModules = ref([]);
const role = useRole(); const role = useRole();