File tree Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 1
1
.searchButton {
2
- @apply relative
2
+ @apply flex
3
3
w-52
4
+ gap-2
4
5
rounded-md
5
6
bg-neutral-200
6
- py-2
7
- pl-9
8
- pr-4
9
- text-left
7
+ p-2
10
8
text-sm
11
- text-neutral-700
9
+ text-neutral-800
12
10
hover:bg-neutral-300
13
11
hover:text-neutral-900
14
12
dark:bg-neutral-900
18
16
}
19
17
20
18
.magnifyingGlassIcon {
21
- @apply absolute
22
- left-2
23
- top-[8px ]
24
- size-5;
19
+ @apply size-5;
25
20
}
26
21
27
22
.shortcutIndicator {
28
23
@apply invisible
29
- absolute
30
- right-2
31
- ml-2
24
+ flex
25
+ flex-1
26
+ items-center
27
+ justify-end
28
+ self-center
29
+ px-1
32
30
font-ibm-plex-mono
31
+ text-xs
33
32
motion-safe:transition-opacity
34
33
motion-safe:duration-100
35
34
md:visible;
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ export const SearchButton: FC = () => {
40
40
type = "button"
41
41
onClick = { openSearchBox }
42
42
className = { styles . searchButton }
43
+ aria-label = { t ( 'components.search.searchBox.placeholder' ) }
43
44
>
44
45
< MagnifyingGlassIcon className = { styles . magnifyingGlassIcon } />
45
46
You can’t perform that action at this time.
0 commit comments