-
Notifications
You must be signed in to change notification settings - Fork 11
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
686 add skip to topbottom links to chat #846
Changes from all commits
713ae74
5826bd2
59e7e04
cb36335
5696459
fca79a8
15287b8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -201,9 +201,19 @@ function ChatBox({ | |
} | ||
|
||
return ( | ||
<div className="chat-box"> | ||
<div className="chat-box" id="chat-box"> | ||
<a | ||
className="skip-to-bottom skip-link " | ||
id="skip-to-bottom" | ||
href="#chat-box-input" | ||
> | ||
<span aria-hidden>🠋 </span>skip to chat input | ||
</a> | ||
<ChatBoxFeed messages={messages} /> | ||
<div className="footer"> | ||
<a className="skip-to-top skip-link " href="#skip-to-bottom"> | ||
<span aria-hidden>🠉 </span>skip to top of chat | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. what does & #129033;   mean? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Those'll be the arrow icons, as unicode escape codes. There are a heap of arrows available, impossible to choose! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nbsp = non-breaking space |
||
</a> | ||
<div className="messages"> | ||
<ChatBoxInput | ||
content={chatInput} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just FYI, you don't need opacity or clip-path here, as those are their default values.