diff --git a/config/uploads.py b/config/uploads.py index 9555c1f..98b1321 100644 --- a/config/uploads.py +++ b/config/uploads.py @@ -4,7 +4,7 @@ import os import shlex _DEFAULT_ALLOWED_EXTENSIONS = ( - ".txt,.md,.rst,.py,.js,.ts,.json,.yml,.yaml,.ini,.cfg,.conf," + ".txt,.md,.rst,.py,.js,.ts,.json,.yml,.yaml,.ini,.cfg,.conf,.ipynb" ".csv,.tsv,.log,.mdx,.env,.sh,.bat,.ps1,.sql,.html,.css," ".svg,.png,.jpg,.jpeg,.gif,.bmp,.webp,.ico,.pdf,.pptx,.docx," ".xlsx,.mp3,.wav,.flac,.mp4,.mov,.mkv,.avi,.webm," diff --git a/static/icons/flask-conical.svg b/static/icons/flask-conical.svg new file mode 100644 index 0000000..90ad9ea --- /dev/null +++ b/static/icons/flask-conical.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/icons/graduation-cap.svg b/static/icons/graduation-cap.svg new file mode 100644 index 0000000..c0d186b --- /dev/null +++ b/static/icons/graduation-cap.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/index.html b/static/index.html index 56689c0..417ddf1 100644 --- a/static/index.html +++ b/static/index.html @@ -12,12 +12,18 @@
+ + diff --git a/static/src/styles/components/chat/_chat-area.scss b/static/src/styles/components/chat/_chat-area.scss index b84cfd0..aabdd0c 100644 --- a/static/src/styles/components/chat/_chat-area.scss +++ b/static/src/styles/components/chat/_chat-area.scss @@ -636,6 +636,9 @@ font-variant-ligatures: none; font-feature-settings: 'liga' 0, 'calt' 0; line-height: 1.55; + overflow-x: auto; + max-width: 100%; + scrollbar-gutter: stable both-edges; } .text-output pre code { @@ -777,6 +780,9 @@ font-variant-ligatures: none; font-feature-settings: 'liga' 0, 'calt' 0; line-height: 1.55; + overflow-x: auto; + max-width: 100%; + scrollbar-gutter: stable both-edges; } .code-block-wrapper pre code {