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 lang="scss" scoped>
$descriptor--light: rgb(87 86 86 / 6%);
body.body--light {
.descriptor {
.subtitle {
color: $gray;
}
.list-box {
background-color: $descriptor--light;
background-color: $lighter-gray;
}
}
}

View File

@ -109,21 +109,24 @@ body.body--light {
display: grid;
grid-template-columns: repeat(2, 1fr);
row-gap: 10px;
column-gap: 10vw;
margin-right: 10px;
}
.actions {
display: flex;
flex-direction: column;
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 {
column-gap: 5vw;
}
}
@media (max-width: 600px) {
@media (max-width: $breakpoint-xs) {
.list-items {
grid-template-columns: 1fr;
grid-gap: 5px;

View File

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