Disini Ruhansa Kodagoda Hettige commited on
Commit
2e0dc36
·
1 Parent(s): 23b0ad9

Update chatbot responses

Browse files
Files changed (1) hide show
  1. FRONTEND/src/App.css +131 -2
FRONTEND/src/App.css CHANGED
@@ -571,6 +571,7 @@ img {
571
  gap: 12px;
572
  min-height: 0;
573
  height: 100%;
 
574
  }
575
 
576
  .chatIntroCard,
@@ -773,6 +774,12 @@ textarea:focus {
773
  padding-right: 4px;
774
  }
775
 
 
 
 
 
 
 
776
  .suggestions {
777
  display: flex;
778
  flex-direction: column;
@@ -1103,6 +1110,85 @@ textarea:focus {
1103
  animation-delay: 0.3s;
1104
  }
1105
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1106
  @media (max-width: 980px) {
1107
  .siteNav,
1108
  .topbar {
@@ -1177,6 +1263,8 @@ textarea:focus {
1177
 
1178
  .composer {
1179
  flex-direction: column;
 
 
1180
  }
1181
 
1182
  .sendBtn {
@@ -1232,6 +1320,33 @@ textarea:focus {
1232
  line-height: 1.6;
1233
  }
1234
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1235
  .medicalHero h2 {
1236
  font-size: 30px;
1237
  }
@@ -1314,13 +1429,18 @@ textarea:focus {
1314
  padding: 12px;
1315
  }
1316
 
 
 
 
 
 
1317
  .bubble {
1318
  padding: 12px 13px;
1319
  border-radius: 14px;
1320
  }
1321
 
1322
- .chip {
1323
- font-size: 11px;
1324
  }
1325
 
1326
  .topbar h1 {
@@ -1341,6 +1461,15 @@ textarea:focus {
1341
  min-height: 64px;
1342
  }
1343
 
 
 
 
 
 
 
 
 
 
1344
  .medicalList {
1345
  padding-left: 18px;
1346
  }
 
571
  gap: 12px;
572
  min-height: 0;
573
  height: 100%;
574
+ min-width: 0;
575
  }
576
 
577
  .chatIntroCard,
 
774
  padding-right: 4px;
775
  }
776
 
777
+ .sidePanel > .card,
778
+ .sidePanel > .authCard,
779
+ .sidePanel > .conversationCard {
780
+ min-width: 0;
781
+ }
782
+
783
  .suggestions {
784
  display: flex;
785
  flex-direction: column;
 
1110
  animation-delay: 0.3s;
1111
  }
1112
 
1113
+ @media (max-width: 1400px) {
1114
+ .main {
1115
+ grid-template-columns: minmax(0, 1fr) 300px;
1116
+ gap: 14px;
1117
+ padding: 14px 18px;
1118
+ }
1119
+
1120
+ .topbar {
1121
+ padding: 14px 18px;
1122
+ }
1123
+
1124
+ .topbar h1 {
1125
+ font-size: 26px;
1126
+ }
1127
+
1128
+ .topbar p {
1129
+ font-size: 14px;
1130
+ }
1131
+
1132
+ .chatIntroCard,
1133
+ .card {
1134
+ padding: 14px 16px;
1135
+ }
1136
+
1137
+ .chatBox {
1138
+ padding: 14px;
1139
+ }
1140
+
1141
+ .bubble {
1142
+ max-width: min(680px, 94%);
1143
+ }
1144
+ }
1145
+
1146
+ @media (max-width: 1200px) {
1147
+ .app.chatPage {
1148
+ height: auto;
1149
+ min-height: 100vh;
1150
+ overflow: visible;
1151
+ }
1152
+
1153
+ .main {
1154
+ grid-template-columns: 1fr;
1155
+ gap: 14px;
1156
+ padding: 14px 16px 18px;
1157
+ overflow: visible;
1158
+ }
1159
+
1160
+ .chatArea,
1161
+ .sidePanel {
1162
+ height: auto;
1163
+ min-height: auto;
1164
+ }
1165
+
1166
+ .sidePanel {
1167
+ overflow: visible;
1168
+ padding-right: 0;
1169
+ display: grid;
1170
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1171
+ gap: 12px;
1172
+ }
1173
+
1174
+ .sidePanel .card,
1175
+ .sidePanel .authCard,
1176
+ .sidePanel .conversationCard {
1177
+ height: 100%;
1178
+ }
1179
+
1180
+ .chatBox {
1181
+ min-height: 420px;
1182
+ max-height: 56vh;
1183
+ }
1184
+
1185
+ .composer {
1186
+ position: sticky;
1187
+ bottom: 12px;
1188
+ z-index: 10;
1189
+ }
1190
+ }
1191
+
1192
  @media (max-width: 980px) {
1193
  .siteNav,
1194
  .topbar {
 
1263
 
1264
  .composer {
1265
  flex-direction: column;
1266
+ position: sticky;
1267
+ bottom: 8px;
1268
  }
1269
 
1270
  .sendBtn {
 
1320
  line-height: 1.6;
1321
  }
1322
 
1323
+ .main {
1324
+ padding-bottom: 20px;
1325
+ }
1326
+
1327
+ .chatIntroCard h2,
1328
+ .card h2 {
1329
+ font-size: 21px;
1330
+ }
1331
+
1332
+ .sidePanel {
1333
+ grid-template-columns: 1fr;
1334
+ }
1335
+
1336
+ .chatBox {
1337
+ min-height: 340px;
1338
+ max-height: none;
1339
+ }
1340
+
1341
+ .meta {
1342
+ gap: 6px;
1343
+ }
1344
+
1345
+ .chip {
1346
+ font-size: 11px;
1347
+ padding: 4px 8px;
1348
+ }
1349
+
1350
  .medicalHero h2 {
1351
  font-size: 30px;
1352
  }
 
1429
  padding: 12px;
1430
  }
1431
 
1432
+ .chatIntroCard,
1433
+ .card {
1434
+ padding: 12px 13px;
1435
+ }
1436
+
1437
  .bubble {
1438
  padding: 12px 13px;
1439
  border-radius: 14px;
1440
  }
1441
 
1442
+ .meta {
1443
+ display: none;
1444
  }
1445
 
1446
  .topbar h1 {
 
1461
  min-height: 64px;
1462
  }
1463
 
1464
+ .composer textarea,
1465
+ .symptomField select,
1466
+ .symptomField input,
1467
+ .symptomField textarea,
1468
+ .authField input,
1469
+ textarea {
1470
+ font-size: 16px;
1471
+ }
1472
+
1473
  .medicalList {
1474
  padding-left: 18px;
1475
  }