Skip to content

Commit f89f840

Browse files
fix: inline DocSearch CSS for production build compatibility
- Inline docsearch.css into main.css to fix @apply directives not processing in production builds - Fix DocSearch button styling (flex, padding, margins) - Hide text on Cancel and Reset buttons - Change search placeholder to "Search"
1 parent e7b41bd commit f89f840

3 files changed

Lines changed: 241 additions & 244 deletions

File tree

docs/app.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ onMounted(async () => {
99
apiKey: "57bf4858266f8e7c7037df759ac8df2f",
1010
maxResultsPerGroup: 4,
1111
disableUserPersonalization: true,
12+
placeholder: "Search",
1213
})
1314
document.addEventListener("click", (e) => {
1415
if (

docs/assets/css/docsearch.css

Lines changed: 0 additions & 227 deletions
This file was deleted.

0 commit comments

Comments
 (0)