Sfoglia il codice sorgente

feat: Added hover styles and added tabIndex to the meeting list container instead of the meeting item header (#15429)

* added hover styles and added tabIndex to the container instead of the meeting heading

* lint error fix
factor2
Wilson Furtado 9 mesi fa
parent
commit
748ead7e13
Nessun account collegato all'indirizzo email del committer

+ 2
- 1
css/_meetings_list.scss Vedi File

127
             cursor: pointer;
127
             cursor: pointer;
128
         }
128
         }
129
 
129
 
130
-        &.with-click-handler:hover {
130
+        &.with-click-handler:hover,
131
+        &.with-click-handler:focus {
131
             background-color: #c7ddff;
132
             background-color: #c7ddff;
132
         }
133
         }
133
 
134
 

+ 3
- 3
react/features/base/react/components/web/MeetingsList.tsx Vedi File

227
             <Container
227
             <Container
228
                 className = { rootClassName }
228
                 className = { rootClassName }
229
                 key = { index }
229
                 key = { index }
230
-                onClick = { onPress }>
230
+                onClick = { onPress }
231
+                tabIndex = { 0 }>
231
                 <Container className = 'right-column'>
232
                 <Container className = 'right-column'>
232
                     <Text
233
                     <Text
233
                         className = 'title'
234
                         className = 'title'
234
                         onClick = { onPress }
235
                         onClick = { onPress }
235
                         onKeyPress = { onKeyPress }
236
                         onKeyPress = { onKeyPress }
236
-                        role = 'button'
237
-                        tabIndex = { 0 }>
237
+                        role = 'button'>
238
                         { title }
238
                         { title }
239
                     </Text>
239
                     </Text>
240
                     {
240
                     {

Loading…
Annulla
Salva