This commit is contained in:
shaoyongjun 2024-10-08 12:07:24 +08:00
parent 89c16b91c2
commit 305718c382

View File

@ -36,10 +36,10 @@
-webkit-box-align: center; -webkit-box-align: center;
position: fixed; position: fixed;
width: 36rem; width: 30rem;
min-height: 45rem; min-height: 40rem;
top: calc(5%); top: calc(5%);
left: calc(50% - 18rem); left: calc(50% - 15rem);
z-index: 101; z-index: 101;
background-color: white; background-color: white;
@ -250,13 +250,13 @@
.chat-log { .chat-log {
flex: 1; flex: 1;
overflow-y: auto; overflow-y: auto;
padding: 20px; padding: 2rem;
} }
.chat-bubble { .chat-bubble {
display: flex; display: flex;
align-items: center; align-items: center;
margin-bottom: 10px; margin-bottom: 1rem;
} }
.user-bubble { .user-bubble {
@ -264,8 +264,8 @@
} }
.bubble-content { .bubble-content {
padding: 10px 15px; padding: 1rem 1.5rem;
border-radius: 20px; border-radius: 2rem;
} }
.user-bubble .bubble-content { .user-bubble .bubble-content {
@ -281,17 +281,17 @@
.input-area { .input-area {
display: flex; display: flex;
align-items: center; align-items: center;
padding: 20px; padding: 2rem;
} }
.input-text { .input-text {
flex: 1; flex: 1;
padding: 10px; padding: 1rem;
margin-right: 10px; margin-right: 1rem;
} }
.submit-button { .submit-button {
padding: 10px 20px; padding: 1rem 2rem;
background-color: #2196f3; background-color: #2196f3;
color: #ffffff; color: #ffffff;
border: none; border: none;
@ -299,7 +299,7 @@
} }
li { li {
margin-top: 10px; margin-top: 1rem;
} }
a { a {
@ -316,7 +316,7 @@
} }
table td, table th { table td, table th {
padding: 10px; padding: 1rem;
} }
.language-sql { .language-sql {
@ -340,7 +340,7 @@
} }
.recommendation{ .recommendation{
color: #1c4cf3; color: #1c4cf3;
margin-top: 10px; margin-top: 1rem;
} }
</style> </style>
@ -360,7 +360,7 @@
<button id="submit" style="margin-left: 10px;width: 100px" onclick="sendMessage()" class="submit-button"> <button id="submit" style="margin-left: 10px;width: 100px" onclick="sendMessage()" class="submit-button">
发送 发送
</button> </button>
<button style="margin-left: 20px;width: 100px;background-color: red" onclick="clearChat()" <button style="margin-left: 2rem;width: 10rem;background-color: red" onclick="clearChat()"
class="submit-button">clear class="submit-button">clear
</button> </button>
</div> </div>