Skip to content

Commit

Permalink
fix(aria): adjust styles for divs to buttons. display options on focus
Browse files Browse the repository at this point in the history
  • Loading branch information
zacheryconverse committed Nov 23, 2021
1 parent f1ac275 commit 8bb7884
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/styles/ChannelListMessenger.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@
min-width: 300px;
background: var(--grey-gainsboro);
}

.str-chat-channel-list .str-chat__channel-list-messenger__main {
padding-bottom: 4px;
}
2 changes: 1 addition & 1 deletion src/styles/ChannelSearch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
}

&-container.inline {
top: 60px;
top: 64px;
right: 0;
background: var(--grey-gainsboro);
height: calc(100vh - 60px);
Expand Down
4 changes: 4 additions & 0 deletions src/styles/EditMessageForm.scss
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,7 @@
}
}
}

.str-chat__edit-message-form {
position: relative;
}
5 changes: 5 additions & 0 deletions src/styles/LoadMoreButton.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,8 @@
}
}
}

.str-chat__load-more-button__button {
display: flex;
justify-content: center;
}
12 changes: 12 additions & 0 deletions src/styles/MessageActions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,15 @@
.str-chat__message-actions-options:hover svg {
fill: var(--primary-color);
}

.str-chat__message-simple:focus-within .str-chat__message-simple__actions__action--thread {
display: flex;
}

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

.str-chat__message-simple:focus-within .str-chat__message-simple__actions__action--options {
display: flex;
}
6 changes: 6 additions & 0 deletions src/styles/Modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,9 @@
}
}
}

.str-chat__exit {
display: flex;
width: 86px;
justify-content: space-between;
}

0 comments on commit 8bb7884

Please sign in to comment.