refs 5987 fix media queries
gitea/salix-front/pipeline/head This commit looks good Details

This commit is contained in:
Jorge Penadés 2023-08-14 15:18:59 +02:00
parent 670882024a
commit 96d0ba3e0a
3 changed files with 9 additions and 7 deletions

View File

@ -193,14 +193,13 @@ body.body--light {
</style> </style>
<style lang="scss" scoped> <style lang="scss" scoped>
$descriptor--light: rgb(87 86 86 / 6%);
body.body--light { body.body--light {
.descriptor { .descriptor {
.subtitle { .subtitle {
color: $gray; color: $gray;
} }
.list-box { .list-box {
background-color: $descriptor--light; background-color: $lighter-gray;
} }
} }
} }

View File

@ -109,21 +109,24 @@ body.body--light {
display: grid; display: grid;
grid-template-columns: repeat(2, 1fr); grid-template-columns: repeat(2, 1fr);
row-gap: 10px; row-gap: 10px;
column-gap: 10vw;
margin-right: 10px; margin-right: 10px;
} }
.actions { .actions {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
} }
@media (min-width: 1024px) and (max-width: 1100px) { @media screen and (min-width: $breakpoint-lg) {
.list-items {
column-gap: 10vw;
}
}
@media screen and (min-width: $breakpoint-sm) {
.list-items { .list-items {
column-gap: 5vw; column-gap: 5vw;
} }
} }
@media (max-width: 600px) { @media (max-width: $breakpoint-xs) {
.list-items { .list-items {
grid-template-columns: 1fr; grid-template-columns: 1fr;
grid-gap: 5px; grid-gap: 5px;

View File

@ -88,7 +88,7 @@ const setData = (entity) =>
<template #body="{ entity }"> <template #body="{ entity }">
<VnLv v-if="entity.ticketState" :label="t('ticket.card.state')"> <VnLv v-if="entity.ticketState" :label="t('ticket.card.state')">
<template #value> <template #value>
<QBadge :color="entity.ticketState.state.classColor ?? 'primary'"> <QBadge :color="entity.ticketState.state.classColor">
{{ entity.ticketState.state.name }} {{ entity.ticketState.state.name }}
</QBadge> </QBadge>
</template> </template>