Skip to content

Commit 8ff42ab

Browse files
committed
Add z-index so MH ColorIndicator focus outline is visible
1 parent 8497f23 commit 8ff42ab

File tree

7 files changed

+28
-0
lines changed

7 files changed

+28
-0
lines changed

src/app/content/components/popUp/__snapshots__/ColorFilter.spec.tsx.snap

+5
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ input:checked + .c8 .c10 {
298298
display: block;
299299
outline: 0.2rem auto Highlight;
300300
outline: 0.2rem auto -webkit-focus-ring-color;
301+
z-index: 1;
301302
}
302303
303304
.c20 {
@@ -331,6 +332,7 @@ input:checked + .c8 .c10 {
331332
display: block;
332333
outline: 0.2rem auto Highlight;
333334
outline: 0.2rem auto -webkit-focus-ring-color;
335+
z-index: 1;
334336
}
335337
336338
.c23 {
@@ -364,6 +366,7 @@ input:checked + .c8 .c10 {
364366
display: block;
365367
outline: 0.2rem auto Highlight;
366368
outline: 0.2rem auto -webkit-focus-ring-color;
369+
z-index: 1;
367370
}
368371
369372
.c25 {
@@ -397,6 +400,7 @@ input:checked + .c8 .c10 {
397400
display: block;
398401
outline: 0.2rem auto Highlight;
399402
outline: 0.2rem auto -webkit-focus-ring-color;
403+
z-index: 1;
400404
}
401405
402406
.c27 {
@@ -430,6 +434,7 @@ input:checked + .c8 .c10 {
430434
display: block;
431435
outline: 0.2rem auto Highlight;
432436
outline: 0.2rem auto -webkit-focus-ring-color;
437+
z-index: 1;
433438
}
434439
435440
.c19 {

src/app/content/highlights/components/ColorIndicator.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ const ColorIndicator = styled(Hoc)`
110110
input:focus + ${FocusedStyle} {
111111
display: block;
112112
${defaultFocusOutline}
113+
z-index: 1;
113114
}
114115
`;
115116

src/app/content/highlights/components/SummaryPopup/__snapshots__/ContextMenu.spec.tsx.snap

+5
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ exports[`ContextMenu match snapshot when open 1`] = `
256256
display: block;
257257
outline: 0.2rem auto Highlight;
258258
outline: 0.2rem auto -webkit-focus-ring-color;
259+
z-index: 1;
259260
}
260261
261262
.c23 {
@@ -289,6 +290,7 @@ exports[`ContextMenu match snapshot when open 1`] = `
289290
display: block;
290291
outline: 0.2rem auto Highlight;
291292
outline: 0.2rem auto -webkit-focus-ring-color;
293+
z-index: 1;
292294
}
293295
294296
.c25 {
@@ -326,6 +328,7 @@ exports[`ContextMenu match snapshot when open 1`] = `
326328
display: block;
327329
outline: 0.2rem auto Highlight;
328330
outline: 0.2rem auto -webkit-focus-ring-color;
331+
z-index: 1;
329332
}
330333
331334
.c27 {
@@ -359,6 +362,7 @@ exports[`ContextMenu match snapshot when open 1`] = `
359362
display: block;
360363
outline: 0.2rem auto Highlight;
361364
outline: 0.2rem auto -webkit-focus-ring-color;
365+
z-index: 1;
362366
}
363367
364368
.c29 {
@@ -392,6 +396,7 @@ exports[`ContextMenu match snapshot when open 1`] = `
392396
display: block;
393397
outline: 0.2rem auto Highlight;
394398
outline: 0.2rem auto -webkit-focus-ring-color;
399+
z-index: 1;
395400
}
396401
397402
.c17 {

src/app/content/highlights/components/SummaryPopup/__snapshots__/Filters.spec.tsx.snap

+5
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ input:checked + .c21 .c22 {
279279
display: block;
280280
outline: 0.2rem auto Highlight;
281281
outline: 0.2rem auto -webkit-focus-ring-color;
282+
z-index: 1;
282283
}
283284
284285
.c32 {
@@ -312,6 +313,7 @@ input:checked + .c21 .c22 {
312313
display: block;
313314
outline: 0.2rem auto Highlight;
314315
outline: 0.2rem auto -webkit-focus-ring-color;
316+
z-index: 1;
315317
}
316318
317319
.c34 {
@@ -345,6 +347,7 @@ input:checked + .c21 .c22 {
345347
display: block;
346348
outline: 0.2rem auto Highlight;
347349
outline: 0.2rem auto -webkit-focus-ring-color;
350+
z-index: 1;
348351
}
349352
350353
.c36 {
@@ -378,6 +381,7 @@ input:checked + .c21 .c22 {
378381
display: block;
379382
outline: 0.2rem auto Highlight;
380383
outline: 0.2rem auto -webkit-focus-ring-color;
384+
z-index: 1;
381385
}
382386
383387
.c38 {
@@ -411,6 +415,7 @@ input:checked + .c21 .c22 {
411415
display: block;
412416
outline: 0.2rem auto Highlight;
413417
outline: 0.2rem auto -webkit-focus-ring-color;
418+
z-index: 1;
414419
}
415420
416421
.c48 {

src/app/content/highlights/components/__snapshots__/ColorIndicator.spec.tsx.snap

+3
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ exports[`ColorIndicator matches snapshot (checked) 1`] = `
4949
display: block;
5050
outline: 0.2rem auto Highlight;
5151
outline: 0.2rem auto -webkit-focus-ring-color;
52+
z-index: 1;
5253
}
5354
5455
.c0 {
@@ -86,6 +87,7 @@ exports[`ColorIndicator matches snapshot (checked) 1`] = `
8687
display: block;
8788
outline: 0.2rem auto Highlight;
8889
outline: 0.2rem auto -webkit-focus-ring-color;
90+
z-index: 1;
8991
}
9092
9193
<div
@@ -200,6 +202,7 @@ exports[`ColorIndicator matches snapshot 1`] = `
200202
display: block;
201203
outline: 0.2rem auto Highlight;
202204
outline: 0.2rem auto -webkit-focus-ring-color;
205+
z-index: 1;
203206
}
204207
205208
<div

src/app/content/highlights/components/__snapshots__/ColorPicker.spec.tsx.snap

+5
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ exports[`ColorPicker matches snapshot no selection 1`] = `
127127
display: block;
128128
outline: 0.2rem auto Highlight;
129129
outline: 0.2rem auto -webkit-focus-ring-color;
130+
z-index: 1;
130131
}
131132
132133
.c9 {
@@ -160,6 +161,7 @@ exports[`ColorPicker matches snapshot no selection 1`] = `
160161
display: block;
161162
outline: 0.2rem auto Highlight;
162163
outline: 0.2rem auto -webkit-focus-ring-color;
164+
z-index: 1;
163165
}
164166
165167
.c11 {
@@ -193,6 +195,7 @@ exports[`ColorPicker matches snapshot no selection 1`] = `
193195
display: block;
194196
outline: 0.2rem auto Highlight;
195197
outline: 0.2rem auto -webkit-focus-ring-color;
198+
z-index: 1;
196199
}
197200
198201
.c13 {
@@ -226,6 +229,7 @@ exports[`ColorPicker matches snapshot no selection 1`] = `
226229
display: block;
227230
outline: 0.2rem auto Highlight;
228231
outline: 0.2rem auto -webkit-focus-ring-color;
232+
z-index: 1;
229233
}
230234
231235
.c15 {
@@ -259,6 +263,7 @@ exports[`ColorPicker matches snapshot no selection 1`] = `
259263
display: block;
260264
outline: 0.2rem auto Highlight;
261265
outline: 0.2rem auto -webkit-focus-ring-color;
266+
z-index: 1;
262267
}
263268
264269
.c2 {

src/app/content/studyGuides/components/__snapshots__/Filters.spec.tsx.snap

+4
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,7 @@ input:checked + .c21 .c22 {
371371
display: block;
372372
outline: 0.2rem auto Highlight;
373373
outline: 0.2rem auto -webkit-focus-ring-color;
374+
z-index: 1;
374375
}
375376
376377
.c35 {
@@ -404,6 +405,7 @@ input:checked + .c21 .c22 {
404405
display: block;
405406
outline: 0.2rem auto Highlight;
406407
outline: 0.2rem auto -webkit-focus-ring-color;
408+
z-index: 1;
407409
}
408410
409411
.c37 {
@@ -437,6 +439,7 @@ input:checked + .c21 .c22 {
437439
display: block;
438440
outline: 0.2rem auto Highlight;
439441
outline: 0.2rem auto -webkit-focus-ring-color;
442+
z-index: 1;
440443
}
441444
442445
.c39 {
@@ -470,6 +473,7 @@ input:checked + .c21 .c22 {
470473
display: block;
471474
outline: 0.2rem auto Highlight;
472475
outline: 0.2rem auto -webkit-focus-ring-color;
476+
z-index: 1;
473477
}
474478
475479
.c10 {

0 commit comments

Comments
 (0)