Skip to content

Commit 8bb7884

Browse files
fix(aria): adjust styles for divs to buttons. display options on focus
1 parent f1ac275 commit 8bb7884

6 files changed

Lines changed: 32 additions & 1 deletion

File tree

src/styles/ChannelListMessenger.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@
33
min-width: 300px;
44
background: var(--grey-gainsboro);
55
}
6+
7+
.str-chat-channel-list .str-chat__channel-list-messenger__main {
8+
padding-bottom: 4px;
9+
}

src/styles/ChannelSearch.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
}
8282

8383
&-container.inline {
84-
top: 60px;
84+
top: 64px;
8585
right: 0;
8686
background: var(--grey-gainsboro);
8787
height: calc(100vh - 60px);

src/styles/EditMessageForm.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,7 @@
106106
}
107107
}
108108
}
109+
110+
.str-chat__edit-message-form {
111+
position: relative;
112+
}

src/styles/LoadMoreButton.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,8 @@
3636
}
3737
}
3838
}
39+
40+
.str-chat__load-more-button__button {
41+
display: flex;
42+
justify-content: center;
43+
}

src/styles/MessageActions.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,15 @@
8989
.str-chat__message-actions-options:hover svg {
9090
fill: var(--primary-color);
9191
}
92+
93+
.str-chat__message-simple:focus-within .str-chat__message-simple__actions__action--thread {
94+
display: flex;
95+
}
96+
97+
.str-chat__message-simple:focus-within .str-chat__message-simple__actions__action--reactions {
98+
display: flex;
99+
}
100+
101+
.str-chat__message-simple:focus-within .str-chat__message-simple__actions__action--options {
102+
display: flex;
103+
}

src/styles/Modal.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,9 @@
6666
}
6767
}
6868
}
69+
70+
.str-chat__exit {
71+
display: flex;
72+
width: 86px;
73+
justify-content: space-between;
74+
}

0 commit comments

Comments
 (0)