-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #925 from buildo/search-bar-layout
Use flex positioning for SearchBar accessories to fix SSR glitches
- Loading branch information
Showing
2 changed files
with
27 additions
and
52 deletions.
There are no files selected for viewing
18 changes: 13 additions & 5 deletions
18
packages/bento-design-system/src/SearchBar/SearchBar.css.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,20 @@ | ||
import { style } from "@vanilla-extract/css"; | ||
import { bentoSprinkles } from "../internal"; | ||
|
||
export const input = style({ | ||
selectors: { | ||
[`&::-webkit-search-decoration, | ||
export const input = style([ | ||
bentoSprinkles({ | ||
outline: "none", | ||
}), | ||
{ | ||
selectors: { | ||
[`&::-webkit-search-decoration, | ||
&::-webkit-search-cancel-button, | ||
&::-webkit-search-results-button, | ||
&::-webkit-search-results-decoration`]: { | ||
WebkitAppearance: "none", | ||
WebkitAppearance: "none", | ||
}, | ||
}, | ||
}, | ||
}); | ||
]); | ||
|
||
export const inputContainer = style({}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters