File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
components/Autocomplete/SectionItem Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ export default function SectionItem(props: SectionItemProps) {
2727
2828 if ( isProduct ( item ) ) {
2929 defaultChildren = (
30- < >
30+ < a href = { item . data ?. url } >
3131 < img
3232 data-testid = 'cio-img'
3333 src = { item . data ?. image_url }
@@ -41,7 +41,7 @@ export default function SectionItem(props: SectionItemProps) {
4141 highlightSearchTerm = { displaySearchTermHighlights }
4242 />
4343 </ p >
44- </ >
44+ </ a >
4545 ) ;
4646 } else if ( isInGroupSuggestion ( item ) ) {
4747 defaultChildren = (
Original file line number Diff line number Diff line change 9191 border-bottom : 3px solid transparent;
9292}
9393
94+ .cio-autocomplete .cio-item a {
95+ color : inherit;
96+ display : inline-flex;
97+ text-decoration : inherit;
98+ flex-direction : column;
99+ }
100+
94101.cio-autocomplete .cio-item [aria-selected = 'true' ] {
95102 background-color : hsl (0 , 0% , 90% );
96103 border-radius : 4px ;
122129 width : 100% ;
123130 max-width : 100px ;
124131 max-height : 100px ;
132+ align-self : center;
125133}
126134
127135.cio-autocomplete .cio-term-in-group {
You can’t perform that action at this time.
0 commit comments