Skip to content

Commit

Permalink
fix(island-ui): Phone input z-indices stacking (#16875)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
Toti91 and kodiakhq[bot] authored Nov 22, 2024
1 parent 6f0354c commit 1805590
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ export const customStyles = (): StylesConfig<
left: 0,
width: '100%',
height: '100%',
zIndex: 1,
}),
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore make web strict
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ export const dropdownIndicator = style(
)
export const menu = style(
{
zIndex: theme.zIndex.belowModal,
marginTop: -3,
borderTopLeftRadius: 0,
borderTopRightRadius: 0,
Expand Down
3 changes: 1 addition & 2 deletions libs/island-ui/core/src/lib/PhoneInput/PhoneInput.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const containerSizes = styleVariants(inputMixins.containerSizes)
export const input = recipe({
base: {
...inputMixins.input,
zIndex: 2,
position: 'relative',
marginLeft: '120px',
'::placeholder': inputMixins.inputPlaceholder,
':focus': inputMixins.inputFocus,
Expand Down Expand Up @@ -118,7 +118,6 @@ export const hasError = style({
export const label = recipe({
base: {
...inputMixins.label,
zIndex: 2,
position: 'relative',
selectors: {
[`${hasError} &`]: inputMixins.labelErrorState,
Expand Down

0 comments on commit 1805590

Please sign in to comment.