fix: 强制发送按钮宽高一致为40x40
parent
9cc6cb3a62
commit
0327034874
|
|
@ -852,18 +852,26 @@ body {
|
|||
display: inline-flex;
|
||||
}
|
||||
|
||||
.chat-send-button {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
flex-shrink: 0;
|
||||
padding: 0;
|
||||
border-radius: 9999px;
|
||||
display: inline-flex;
|
||||
.ant-btn.chat-send-button,
|
||||
.chat-send-button.ant-btn {
|
||||
width: 40px !important;
|
||||
min-width: 40px !important;
|
||||
max-width: 40px !important;
|
||||
height: 40px !important;
|
||||
min-height: 40px !important;
|
||||
max-height: 40px !important;
|
||||
flex: 0 0 40px;
|
||||
padding: 0 !important;
|
||||
border-radius: 9999px !important;
|
||||
display: inline-flex !important;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
box-sizing: border-box;
|
||||
aspect-ratio: 1 / 1;
|
||||
}
|
||||
|
||||
.chat-send-button .ant-btn-icon {
|
||||
.ant-btn.chat-send-button .ant-btn-icon,
|
||||
.chat-send-button.ant-btn .ant-btn-icon {
|
||||
margin-inline-start: 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue