Skip to content

Commit d87ed2b

Browse files
committed
Search upgrade to 0.11.3 and CSS fix
- [x] Bump Search to 0.11.3 - [x] Add a fix for Button Placement on mobile - [x] Change dependabot to create PR for ALL packages changes
1 parent 8c0a793 commit d87ed2b

File tree

5 files changed

+12
-6
lines changed

5 files changed

+12
-6
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ updates:
1919
- dependency-name: "@chainlink/local"
2020
versions: ["*"]
2121
- dependency-name: "@chainlink/cl-search-frontend"
22-
update-types: ["version-update:semver-patch"]
22+
versions: ["*"]
2323
# For all deps
2424
- dependency-name: "*"
2525
# ignore all major updates

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"@astrojs/react": "^4.3.0",
5151
"@astrojs/sitemap": "^3.4.1",
5252
"@astrojs/vercel": "^8.2.0",
53-
"@chainlink/cl-search-frontend": "^0.11.1",
53+
"@chainlink/cl-search-frontend": "^0.11.3",
5454
"@chainlink/components": "^0.4.18",
5555
"@chainlink/contracts": "1.4.0",
5656
"@chainlink/contracts-ccip": "1.6.0",
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
@media (max-width: 50em) {
2+
body:has(.layout) .askAiButtonContainer {
3+
bottom: 88px;
4+
}
5+
}

src/components/Header/aiSearch/Search.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import React, { useEffect, useState, ComponentType } from "react"
22
import { SearchButtonProps } from "@chainlink/cl-search-frontend"
33
import "@chainlink/cl-search-frontend/dist/index.css"
4+
import "./Search.css" // We need to use normal CSS to override a global class
45

56
function AlgoliaSearch({ algoliaVars }) {
67
// Only render the component on the client side

0 commit comments

Comments
 (0)