Skip to content

Commit 7a25283

Browse files
outline send, upload, and actions on focus. (#28)
* outline send, upload, and actions on focus. * search result width
1 parent b9b9ae7 commit 7a25283

4 files changed

Lines changed: 14 additions & 0 deletions

File tree

src/styles/ChannelSearch.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
height: 40px;
5050
cursor: pointer;
5151
padding-left: 8px;
52+
width: 100%;
5253

5354
&:hover {
5455
font-weight: var(--font-weight-bold);

src/styles/MessageActions.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@
4242
font-size: var(--sm-font);
4343
color: var(--black);
4444
text-decoration: none;
45+
46+
&:focus {
47+
outline: 5px auto -webkit-focus-ring-color;
48+
}
4549
}
4650

4751
.str-chat__message-actions-list button:hover {

src/styles/MessageInput.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@
5656
.rfu-file-upload-button {
5757
right: 46px;
5858
top: calc(100% - 34px);
59+
60+
&:focus-within {
61+
outline: 5px auto -webkit-focus-ring-color;
62+
}
5963
}
6064

6165
&-footer {

src/styles/SendButton.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
border: 0;
44
background: 0;
55
outline: 0;
6+
7+
&:focus {
8+
outline: 5px auto -webkit-focus-ring-color;
9+
}
10+
611
@media screen and (min-width: 768px) {
712
display: none;
813
}

0 commit comments

Comments
 (0)