Skip to content

Commit

Permalink
fix: a11y button corrections (#32)
Browse files Browse the repository at this point in the history
* outline send, upload, and actions on focus.

* search result width

* remove duplicate selector

* fix: update SuggestionList items

* add transparent background

* update search result button styles
  • Loading branch information
zacheryconverse authored Jan 20, 2022
1 parent bde7332 commit 74e9d3d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 2 additions & 0 deletions src/styles/ChannelSearch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@
cursor: pointer;
padding-left: 8px;
width: 100%;
border: none;
background: transparent;

&:hover {
font-weight: var(--font-weight-bold);
Expand Down
4 changes: 0 additions & 4 deletions src/styles/Message.scss
Original file line number Diff line number Diff line change
Expand Up @@ -734,10 +734,6 @@
.str-chat__message-simple__actions__action--reactions {
display: flex;
}

.str-chat__message-simple__actions__action--reactions {
display: flex;
}
}

&-text {
Expand Down
7 changes: 7 additions & 0 deletions src/styles/MessageInput.scss
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,13 @@
font-size: var(--md-font);
}

.rta__entity {
cursor: pointer;
width: 100%;
border: none;
background: transparent;
}

.rta__entity--selected {
background-color: var(--primary-color);
color: var(--white);
Expand Down

0 comments on commit 74e9d3d

Please sign in to comment.