-
- {{ question?.question.message }}
-
-
![]()
+
+
+
+
+ {{ question?.question.message }}
+
+
![]()
+
+
+
+
@@ -99,9 +114,9 @@ onUnmounted(() => {
border: 2 solid rgb(255, 255, 255);
display: flex;
flex-direction: column;
- transition: all 0.3s ease;
border-style: solid;
box-sizing: border-box;
+ transition: all 0.3s ease;
}
.question-display-content {
border-radius: 10px;
@@ -110,19 +125,156 @@ onUnmounted(() => {
height: 100%;
justify-content: space-evenly;
padding: 24px;
+ overflow: auto;
}
.question-display-user-name {
text-align: center;
margin: 5px;
- transition: all 0.3s ease;
+ height: 32px;
+ text-overflow: ellipsis;
+ white-space: nowrap;
}
.question-display-text {
min-height: 50px;
- transition: all 0.3s ease;
}
.question-display-image {
max-width: 40%;
max-height: 40%;
margin: 0 auto;
}
+
+::-webkit-scrollbar {
+ width: 10px;
+
+ height: 10px;
+}
+
+::-webkit-scrollbar-thumb {
+ background: hsla(0, 0%, 51%, 0.377);
+
+ -webkit-box-shadow: none;
+
+ border-radius: 10px;
+
+ -webkit-box-shadow: none;
+}
+
+::-webkit-scrollbar-track {
+ border-radius: 10px;
+
+ background: #cccccc4b;
+
+ -webkit-box-shadow: none;
+
+ -webkit-box-shadow: none;
+}
+
+
+
diff --git a/src/views/single/QuestionDisplay.vue b/src/views/single/QuestionDisplay.vue
index 592e672..95c345a 100644
--- a/src/views/single/QuestionDisplay.vue
+++ b/src/views/single/QuestionDisplay.vue
@@ -72,7 +72,7 @@ watch([cardSize.width, cardSize.height], () => {
const setting = computed({
get: () => {
- if (accountInfo.value) {
+ if (accountInfo.value && accountInfo.value.settings) {
return accountInfo.value.settings.questionDisplay
}
return defaultSettings
@@ -161,6 +161,16 @@ onMounted(() => {