Галерея

This commit is contained in:
iriska-gri committed 2024-01-29 09:02:55 +03:00
1 parent a382dd81d8
commit 2b79d64c37
1 file changed
+23 -10
+23 -10
View File
@@ -1,6 +1,7 @@
<template>
<!-- cycle -->
<v-carousel
cycle
interval="10000"
cover
height="450"
@@ -22,13 +23,17 @@
pa-0 ma-0 pb-3
class="flex-column h-100 d-flex"
>
<v-card v-if="x.text != '' || x.title != null" class="bgCard h-100 d-flex flex-column">
<v-card-title v-if="x.title != null" class="ma-2 text-h3 text-uppercase titles text-text_carous py-5 flex-column">
<v-row>
<v-col class="pa-0 pl-1 align-self-center">
<v-card
v-if="x.text != '' || x.title != null"
class="bgCard h-100 d-flex flex-column"
>
<v-card-title v-if="x.title != null"
class="text-h3 text-uppercase titles text-text_carous ma-1 mb-0">
<v-row no-gutters >
<v-col class="align-self-center">
{{x.title}}
</v-col>
<v-col class="flex-grow-0 pa-0 pr-1">
<v-col class="flex-grow-0">
<v-img
width="50"
:aspect-ratio="1"
@@ -38,16 +43,20 @@
</v-col>
</v-row>
</v-card-title>
<v-card-text v-if="x.text != ''" class="ml-2 mb-2 w-50 flex-grow-0 pb-3 text-h6 bgText overflow-auto">
<v-card-text
v-if="x.text != ''"
class=" w-50 flex-grow-0 text-h6 bgText overflow-auto ma-1 pa-0"
>
<v-textarea
class="text-text_carous mt-n3 text-black textareas pt-2 font-weight-medium"
class="text-text_caroustext-black textareas font-weight-medium nocursor"
:model-value=x.text
variant='plain'
variant='solo'
readonly
auto-grow
rows="1"
hide-details
flat
bg-color="transparent"
/>
</v-card-text>
</v-card>
@@ -89,4 +98,8 @@ export default {
.textareas .v-field__input {
font-size: 1.3em!important;
}
.nocursor textarea {
cursor: default !important;
}
</style>