Spaces:
Runtime error
Runtime error
Improve height in weird HF iframe
Browse files- styles.css +11 -5
styles.css
CHANGED
|
@@ -60,13 +60,12 @@ button.cancel:hover, .cancel[disabled] {
|
|
| 60 |
|
| 61 |
div.block.chatbot {
|
| 62 |
height: calc(100svh - 320px) !important;
|
| 63 |
-
|
| 64 |
-
max-height: 1400px;
|
| 65 |
}
|
| 66 |
|
| 67 |
@media (max-width: 1280px) {
|
| 68 |
div.block.chatbot {
|
| 69 |
-
|
| 70 |
}
|
| 71 |
}
|
| 72 |
|
|
@@ -86,7 +85,7 @@ div.block.chatbot {
|
|
| 86 |
}
|
| 87 |
|
| 88 |
div.block.chatbot {
|
| 89 |
-
|
| 90 |
}
|
| 91 |
}
|
| 92 |
|
|
@@ -111,7 +110,14 @@ div.block.chatbot {
|
|
| 111 |
}
|
| 112 |
|
| 113 |
@media (max-height: 932px) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 114 |
div.block.chatbot {
|
| 115 |
-
|
| 116 |
}
|
| 117 |
}
|
|
|
|
| 60 |
|
| 61 |
div.block.chatbot {
|
| 62 |
height: calc(100svh - 320px) !important;
|
| 63 |
+
max-height: 900px !important;
|
|
|
|
| 64 |
}
|
| 65 |
|
| 66 |
@media (max-width: 1280px) {
|
| 67 |
div.block.chatbot {
|
| 68 |
+
height: calc(-320px + 100svh) !important;
|
| 69 |
}
|
| 70 |
}
|
| 71 |
|
|
|
|
| 85 |
}
|
| 86 |
|
| 87 |
div.block.chatbot {
|
| 88 |
+
height: calc(-450px + 100svh) !important;
|
| 89 |
}
|
| 90 |
}
|
| 91 |
|
|
|
|
| 110 |
}
|
| 111 |
|
| 112 |
@media (max-height: 932px) {
|
| 113 |
+
.chatbot {
|
| 114 |
+
max-height: 500px !important;
|
| 115 |
+
/*min-height: 320px;*/
|
| 116 |
+
}
|
| 117 |
+
}
|
| 118 |
+
|
| 119 |
+
@media (max-height: 1280px) {
|
| 120 |
div.block.chatbot {
|
| 121 |
+
max-height: 800px !important;
|
| 122 |
}
|
| 123 |
}
|