Skip to content

Commit d556429

Browse files
committed
Format code with prettier
1 parent 49ec3f1 commit d556429

File tree

4 files changed

+13
-14
lines changed

4 files changed

+13
-14
lines changed

src/Elastic.Documentation.Site/Assets/web-components/SearchOrAskAi/Search/Search.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,12 @@ export const Search = () => {
125125
`}
126126
>
127127
<EuiSpacer size="m" />
128-
<EuiText color="default" size="xs"
129-
css={css`
130-
font-weight: 500;
131-
`}
128+
<EuiText
129+
color="default"
130+
size="xs"
131+
css={css`
132+
font-weight: 500;
133+
`}
132134
>
133135
Ask AI assistant
134136
</EuiText>

src/Elastic.Documentation.Site/Assets/web-components/SearchOrAskAi/Search/SearchResults/SearchFilters.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export const SearchFilters = ({
8888
svg {
8989
fill: ${euiTheme.colors.borderBaseProminent};
9090
}
91-
}
91+
}
9292
`
9393

9494
return (
@@ -102,7 +102,6 @@ export const SearchFilters = ({
102102
role="group"
103103
aria-label="Search filters"
104104
>
105-
106105
<EuiButton
107106
color="text"
108107
iconType="globe"

src/Elastic.Documentation.Site/Assets/web-components/SearchOrAskAi/Search/SearchResults/SearchResultsList.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
import { useSelectedIndex, useSearchActions } from '../search.store'
22
import { type SearchResultItem } from '../useSearchQuery'
33
import { SearchResultListItem } from './SearchResultsListItem'
4-
import {
5-
useEuiOverflowScroll,
6-
useEuiTheme,
7-
} from '@elastic/eui'
4+
import { useEuiOverflowScroll, useEuiTheme } from '@elastic/eui'
85
import { css } from '@emotion/react'
96
import { useRef, useCallback, useEffect, MutableRefObject } from 'react'
107

src/Elastic.Documentation.Site/Assets/web-components/SearchOrAskAi/Search/SearchResults/SearchResultsListItem.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ export function SearchResultListItem({
120120
&[data-selected],
121121
&:hover,
122122
&:focus {
123-
background-color: ${euiTheme.colors.backgroundBaseHighlighted};
123+
background-color: ${euiTheme.colors
124+
.backgroundBaseHighlighted};
124125
border-color: ${euiTheme.colors.borderBasePlain};
125126
.return-key-icon {
126127
visibility: visible;
@@ -172,9 +173,9 @@ export function SearchResultListItem({
172173
/>
173174
</div>
174175
<EuiSpacer
175-
css={css`
176-
block-size: 2px;
177-
`}
176+
css={css`
177+
block-size: 2px;
178+
`}
178179
/>
179180
<EuiText size="xs">
180181
<div

0 commit comments

Comments
 (0)