fix [P-239]: фикс размера картинок в ответах
This commit is contained in:
1 parent
06e80baff8
commit
5d437e7bd1
1 file changed
+7
-3
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<v-card
|
||||
class="mt-4 w-75 mx-auto d-flex flex-lg-column"
|
||||
style="min-height: 450px; max-height: 700px"
|
||||
style="min-height: 450px; max-height: 900px"
|
||||
>
|
||||
<v-card-title class="text-h6 font-weight-bold">
|
||||
Вопрос {{ currentQuestion + 1 }} из {{ totalQuestions }}
|
||||
@@ -27,7 +27,8 @@
|
||||
v-if="option.file"
|
||||
:src="`http://127.0.0.1:8000${option.file}`"
|
||||
class="mb-4"
|
||||
max-height="140"
|
||||
width="400"
|
||||
min-width="300"
|
||||
contain
|
||||
/>
|
||||
<span>{{ option.name }}</span>
|
||||
@@ -52,7 +53,8 @@
|
||||
v-if="option.file"
|
||||
:src="`http://127.0.0.1:8000${option.file}`"
|
||||
class="mb-4"
|
||||
max-height="140"
|
||||
width="400"
|
||||
min-width="300"
|
||||
contain
|
||||
/>
|
||||
<span>{{ option.name }}</span>
|
||||
@@ -178,5 +180,7 @@ export default {
|
||||
:deep(.v-img) {
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
||||
margin: 0 auto;
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user