style: fix combobox zIndex (#228)

This commit is contained in:
Camila Sosa Morales 2023-04-17 15:07:28 -03:00 committed by GitHub
parent 5ae09105c0
commit 3da5666f09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 4 deletions

View File

@ -41,7 +41,6 @@ export const ColorPicker: React.FC<ColorPickerProps> = ({
<div className="relative">
<Flex css={{ gap: '$3h', alignItems: 'center' }}>
<span>Primary Color</span>
{/* TODO crate color picker component */}
<Button
leftIcon={
<Icon name="square" css={{ color: `${logoColor || '$black'}` }} />
@ -54,7 +53,7 @@ export const ColorPicker: React.FC<ColorPickerProps> = ({
height: '$5',
borderRadius: '$md',
color: '$slate12',
zIndex: '$dropdown',
zIndex: '$docked',
minWidth: '$28',
}}
onClick={handleColorPickerClick}

View File

@ -54,7 +54,7 @@ export const ComboboxStyles = {
padding: '$3',
gap: '$2',
borderRadius: '$lg',
zIndex: 10,
zIndex: '$dropdown',
maxHeight: '30vh',
overflow: 'auto',
}),

View File

@ -75,7 +75,7 @@ export const UserOrgsCombobox: React.FC = () => {
<Combobox
items={userAndOrganizations}
unattached
css={{ flex: 1 }}
css={{ flex: 1, minWidth: '$44' }}
selected={[selectedUserOrg, handleUserOrgChange]}
queryKey="label"
>