fix: 1.添加部分ant-design组件的全局样式的覆盖。
2. 修复聊天框文本溢出的问题。
This commit is contained in:
@@ -29,8 +29,6 @@
|
||||
|
||||
.chat-input-textarea-wrapper {
|
||||
flex: 1;
|
||||
min-height: 40px;
|
||||
max-height: 120px;
|
||||
margin: 0 8px;
|
||||
}
|
||||
|
||||
@@ -40,8 +38,6 @@
|
||||
box-shadow: none !important;
|
||||
padding: 8px 0 !important;
|
||||
background: transparent !important;
|
||||
min-height: 40px;
|
||||
max-height: 120px;
|
||||
}
|
||||
|
||||
.chat-input-button {
|
||||
@@ -83,13 +79,10 @@
|
||||
|
||||
.chat-input-textarea-wrapper {
|
||||
margin: 0 4px;
|
||||
min-height: 36px;
|
||||
max-height: 100px;
|
||||
}
|
||||
|
||||
.chat-input-textarea {
|
||||
min-height: 36px;
|
||||
max-height: 100px;
|
||||
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
@@ -109,13 +102,9 @@
|
||||
|
||||
.chat-input-textarea-wrapper {
|
||||
margin: 0 2px;
|
||||
min-height: 32px;
|
||||
max-height: 80px;
|
||||
}
|
||||
|
||||
.chat-input-textarea {
|
||||
min-height: 32px;
|
||||
max-height: 80px;
|
||||
font-size: 13px;
|
||||
padding: 6px 0 !important;
|
||||
}
|
||||
|
||||
+7
-1
@@ -106,6 +106,11 @@
|
||||
border-color: #00684a;
|
||||
box-shadow: 0 0 0 2px rgba(0, 104, 74, 0.1);
|
||||
}
|
||||
|
||||
.ant-input:focus,
|
||||
.ant-input:active,
|
||||
.ant-input-outlined:focus-within,
|
||||
.ant-select-focused,
|
||||
.ant-select:active,
|
||||
.ant-select:hover{
|
||||
outline: none;
|
||||
@@ -113,8 +118,9 @@
|
||||
border-color: #00684a;
|
||||
box-shadow: 0 0 0 2px rgba(0, 104, 74, 0.1);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
/* 组件相关样式 */
|
||||
|
||||
Reference in New Issue
Block a user