Skip to content

Commit

Permalink
no scrollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
fontanierh committed Oct 3, 2023
1 parent 0f3af1d commit be10beb
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
8 changes: 6 additions & 2 deletions front/components/assistant/conversation/InputBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,12 @@ export function AssistantInputBar({
Ask a question
</div>
<div
className={contentEditableClasses}
style={{ overflowY: "auto", maxHeight: "500px" }}
className={classNames(
contentEditableClasses,
"scrollbar-hide",
"overflow-y-auto",
"max-h-96"
)}
contentEditable={true}
ref={inputRef}
id={"dust-input-bar"}
Expand Down
6 changes: 6 additions & 0 deletions front/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions front/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
"sqlite3": "^5.1.4",
"sse.js": "^0.6.1",
"swr": "^2.0.2",
"tailwind-scrollbar-hide": "^1.1.7",
"tailwindcss": "^3.2.4",
"three": "^0.155.0",
"uuid": "^9.0.0"
Expand Down
2 changes: 1 addition & 1 deletion front/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ module.exports = {
backgroundColor: ["dark"],
},
},
plugins: [require("@tailwindcss/forms")],
plugins: [require("@tailwindcss/forms"), require("tailwind-scrollbar-hide")],
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
Expand Down

0 comments on commit be10beb

Please sign in to comment.