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