Spaces:
Sleeping
Sleeping
Keldos
commited on
Commit
·
8ad2261
1
Parent(s):
2be5c01
解决chatbot placeholder宽度问题
Browse files
web_assets/stylesheet/ChuanhuChat.css
CHANGED
@@ -1135,6 +1135,11 @@ input:checked + .chatbot-input-more-span {
|
|
1135 |
display: none;
|
1136 |
}
|
1137 |
|
|
|
|
|
|
|
|
|
|
|
1138 |
#chatbot-area.no-menu #chatbot-header {
|
1139 |
padding-left: max(20px, env(safe-area-inset-left));
|
1140 |
}
|
|
|
1135 |
display: none;
|
1136 |
}
|
1137 |
|
1138 |
+
#chatbot-area {
|
1139 |
+
container-name: chatbot-area;
|
1140 |
+
container-type: inline-size;
|
1141 |
+
}
|
1142 |
+
|
1143 |
#chatbot-area.no-menu #chatbot-header {
|
1144 |
padding-left: max(20px, env(safe-area-inset-left));
|
1145 |
}
|
web_assets/stylesheet/chatbot.css
CHANGED
@@ -454,11 +454,8 @@ img.avatar-image {
|
|
454 |
opacity: 1;
|
455 |
}
|
456 |
|
457 |
-
|
458 |
-
|
459 |
display: none;
|
460 |
}
|
461 |
-
@media screen and (min-width: 640px) {
|
462 |
-
display: inline-block;
|
463 |
-
}
|
464 |
}
|
|
|
454 |
opacity: 1;
|
455 |
}
|
456 |
|
457 |
+
@container chatbot-area (width < 712px) {
|
458 |
+
#chatbot-placeholder-options button.hide-for-mobile {
|
459 |
display: none;
|
460 |
}
|
|
|
|
|
|
|
461 |
}
|