Merge branch '26919_chatscreen' into 'master'
26919_chatscreen See merge request !34
Showing
3 changed files
with
47 additions
and
7 deletions
| ... | @@ -239,22 +239,21 @@ | ... | @@ -239,22 +239,21 @@ |
| 239 | } | 239 | } |
| 240 | 240 | ||
| 241 | .suggestedrow.title { | 241 | .suggestedrow.title { |
| 242 | padding: 100px 20px; | 242 | padding: 4vw 20px; |
| 243 | } | 243 | } |
| 244 | 244 | ||
| 245 | .suggestedcol ul li { | 245 | .suggestedcol ul li { |
| 246 | background: #5c6aa529; | 246 | background: #5c6aa529; |
| 247 | padding: 10px; | 247 | padding: 10px; |
| 248 | border-radius: 5px; | 248 | border-radius: 5px; |
| 249 | margin: 10px 0; | 249 | margin: 0 0 10px; |
| 250 | margin-top: 10px; | ||
| 251 | margin-right: 0px; | ||
| 252 | margin-bottom: 10px; | ||
| 253 | margin-left: 0px; | ||
| 254 | } | 250 | } |
| 255 | 251 | ||
| 256 | ul.suggested-options { | 252 | ul.suggested-options { |
| 257 | cursor: pointer; | 253 | cursor: pointer; |
| 254 | overflow-x: hidden; | ||
| 255 | height: 200px; | ||
| 256 | padding-right: 5px !important; | ||
| 258 | } | 257 | } |
| 259 | 258 | ||
| 260 | 259 | ... | ... |
| ... | @@ -176,6 +176,33 @@ span.info { | ... | @@ -176,6 +176,33 @@ span.info { |
| 176 | display: none; | 176 | display: none; |
| 177 | } | 177 | } |
| 178 | 178 | ||
| 179 | ul.suggested-options::-webkit-scrollbar{ | ||
| 180 | /*display: none;*/ | ||
| 181 | } | ||
| 182 | |||
| 183 | /* Let's get this party started */ | ||
| 184 | ul.suggested-options::-webkit-scrollbar { | ||
| 185 | width: 8px; | ||
| 186 | } | ||
| 187 | |||
| 188 | /* Track */ | ||
| 189 | ul.suggested-options::-webkit-scrollbar-track { | ||
| 190 | -webkit-border-radius: 0px; | ||
| 191 | border-radius: 0px; | ||
| 192 | } | ||
| 193 | |||
| 194 | /* Handle */ | ||
| 195 | ul.suggested-options::-webkit-scrollbar-thumb { | ||
| 196 | -webkit-border-radius: 10px; | ||
| 197 | border-radius: 10px; | ||
| 198 | background: #48b0e9; | ||
| 199 | } | ||
| 200 | ul.suggested-options::-webkit-scrollbar-thumb:window-inactive { | ||
| 201 | background: #4291bd; | ||
| 202 | } | ||
| 203 | |||
| 204 | |||
| 205 | |||
| 179 | code br:nth-child(-n+2) { | 206 | code br:nth-child(-n+2) { |
| 180 | display: none; | 207 | display: none; |
| 181 | } | 208 | } | ... | ... |
| 1 | const SuggestedOptions = ({ setChatInput }) => { | 1 | const SuggestedOptions = ({ setChatInput }) => { |
| 2 | const examples = ["Write an email requesting a 3-day vacation leave to my manager.", "Compose a song about nationalism and love for the country.", "Give me 3 easy-to-cook food recipes that I can prepare for a date night at home."]; | 2 | const examples = [ |
| 3 | "Write an email requesting a 3-day vacation leave to my manager.", | ||
| 4 | "Compose a song about nationalism and love for the country.", | ||
| 5 | "Give me 3 easy-to-cook food recipes that I can prepare for a date night at home.", | ||
| 6 | "Give me 5 of the best dog shampoos and conditioners I can find on Amazon.", | ||
| 7 | "Write a business pitch for a food truck that serves European-Asian food fusion called EAT Express.", | ||
| 8 | "Write a Youtube script about how to file taxes as a social media influencer in the US.", | ||
| 9 | "Write a resume for an architect with 3 years of experience with green technology and sustainability.", | ||
| 10 | "Give me 7 motivational quotes for start-up businesses to be used in social media posts.", | ||
| 11 | "Write an article outline about the comparison of DC and Marvel movies.", | ||
| 12 | "Give me a one-week itinerary for a trip to Hawaii.", | ||
| 13 | "Write a short children's story about a dolphin that wanted to fly.", | ||
| 14 | "Explain the difference between a samurai and a ninja.", | ||
| 15 | "Explain how to create a blue button in html that turns to yellow on mouse hover." | ||
| 16 | ]; | ||
| 3 | const handleExampleClick = (example) => { | 17 | const handleExampleClick = (example) => { |
| 4 | setChatInput(example); | 18 | setChatInput(example); |
| 5 | }; | 19 | }; | ... | ... |
-
Please register or sign in to post a comment