Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: #81 scrollbar #83

Merged
merged 1 commit into from
Jul 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions example/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import {
import { defaultFollowUps } from './samples/sample-data';
import { Commands } from './commands';
import { MynahUITabStoreTab, QuickActionCommandGroup } from '../../dist/static';
export const WelcomeMessage = `Hi, this is \`MynahUI\` and it is a **data and event driven** web based chat interface library and it is independent from any framework like react or vue etc.
In this example web app which uses mynah-ui as its renderer, we're simulating its capabilities with some static content with an IDE look&feel.
export const WelcomeMessage = `Hi, this is \`MynahUI\` and it is a **data and event driven** web based chat interface library and it is independent from any framework like react or vue etc.
In this example web app which uses mynah-ui as its renderer, we're simulating its capabilities with some static content with an IDE look&feel.

*To see more examples about the possible content types, interactions or various component types, you can type \`/\` to open the quick actions list panel.*`;

Expand All @@ -31,7 +31,7 @@ export const QuickActionCommands:QuickActionCommandGroup[] = [
command: Commands.SHOW_STICKY_CARD,
description: 'You can stick a ChatItem card on top of the input field which will stay there independently from the conversation block. It might be handy to give some info to the user.',
},

],
},
{
Expand Down
8 changes: 8 additions & 0 deletions src/styles/_scrollbars.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
* {
scrollbar-gutter: unset;
scrollbar-color: color-mix(
in hsl,
var(--mynah-color-text-default),
hsl(0, 100%, 100%) 90%)
transparent;
}
1 change: 1 addition & 0 deletions src/styles/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
@import 'animations';
@import 'dark';
@import 'favicons';
@import 'scrollbars';
@import './components/main-container';
Loading