refactor: adjust component styles for improved consistency
- Modified border-radius values in botmsg and usermsg components for a more uniform appearance. - Increased font size in the ai-markdown-template class for better readability. - Removed hover scale effect in AgentStreamDisplay, botmsg, and usermsg components to streamline interactions. These changes enhance the visual consistency and usability of the chat components, contributing to a more polished user interface.
This commit is contained in:
@@ -2021,7 +2021,6 @@ const handleAddToKnowledge = (answerEvent: any) => {
|
|||||||
background-color: var(--td-bg-color-secondarycontainer); /* 加载时的占位背景色 */
|
background-color: var(--td-bg-color-secondarycontainer); /* 加载时的占位背景色 */
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
transform: scale(1.02);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -327,7 +327,7 @@ onBeforeUnmount(() => {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 4px;
|
gap: 4px;
|
||||||
padding: 3px 8px;
|
padding: 3px 8px;
|
||||||
border-radius: 10px;
|
border-radius: 4px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
max-width: 200px;
|
max-width: 200px;
|
||||||
@@ -391,7 +391,7 @@ onBeforeUnmount(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ai-markdown-template {
|
.ai-markdown-template {
|
||||||
font-size: 13px;
|
font-size: 15px;
|
||||||
color: var(--td-text-color-primary);
|
color: var(--td-text-color-primary);
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
}
|
}
|
||||||
@@ -490,7 +490,6 @@ onBeforeUnmount(() => {
|
|||||||
transition: transform 0.2s ease;
|
transition: transform 0.2s ease;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
transform: scale(1.02);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ const props = defineProps({
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 4px;
|
gap: 4px;
|
||||||
padding: 3px 8px;
|
padding: 3px 8px;
|
||||||
border-radius: 10px;
|
border-radius: 5px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
max-width: 200px;
|
max-width: 200px;
|
||||||
@@ -118,7 +118,7 @@ const props = defineProps({
|
|||||||
background: #8CE97F;
|
background: #8CE97F;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
color: #000000e6;
|
color: #000000e6;
|
||||||
font-size: 16px;
|
font-size: 15px;
|
||||||
text-align: justify;
|
text-align: justify;
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
|||||||
Reference in New Issue
Block a user