ソースを参照

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ヶ月前
コミット
748ead7e13
コミッターのメールアドレスに関連付けられたアカウントが存在しません
2個のファイルの変更5行の追加4行の削除
  1. 2
    1
      css/_meetings_list.scss
  2. 3
    3
      react/features/base/react/components/web/MeetingsList.tsx

+ 2
- 1
css/_meetings_list.scss ファイルの表示

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

+ 3
- 3
react/features/base/react/components/web/MeetingsList.tsx ファイルの表示

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

読み込み中…
キャンセル
保存