clear code

This commit is contained in:
Hristo Nedelkov 2024-01-09 17:01:48 +02:00
parent 14dc82ebb9
commit b664c3a4a2
4 changed files with 7 additions and 8 deletions

View File

@ -11,10 +11,10 @@ const Icon = ({ src, width = '16px', height = '16px' }: IconProps) => {
<Image <Image
src={src} src={src}
source={{ uri: src }} source={{ uri: src }}
width={'70%'} width={'50%'}
height={100} height={90}
style={{ backgroundColor: 'transparent' }} style={{ backgroundColor: 'transparent' }}
minWidth={'110px'} minWidth={'90px'}
/> />
) )
} }

View File

@ -60,7 +60,7 @@ const FormStepper = ({ activeStep, windowWidth }: FormStepperProps) => {
return ( return (
<Step <Step
key={originalIndex} key={originalIndex}
label={`${originalIndex + 1}. ${step.label}`} label={`${step.label}`}
className="custom-step" className="custom-step"
onClick={() => changeStepOnClickHandler(originalIndex)} onClick={() => changeStepOnClickHandler(originalIndex)}
completed={activeStep > originalIndex - 1} completed={activeStep > originalIndex - 1}

View File

@ -28,8 +28,8 @@ const ExecClientCard = ({ name, icon, isComingSoon }: ExecClientCardProps) => {
: '1px solid #DCE0E5', : '1px solid #DCE0E5',
borderRadius: '16px', borderRadius: '16px',
padding: '12px 16px', padding: '12px 16px',
width: '19%',
cursor: 'pointer', cursor: 'pointer',
width: '100%',
minWidth: '150px', minWidth: '150px',
}} }}
space={'$8'} space={'$8'}
@ -50,7 +50,7 @@ const ExecClientCard = ({ name, icon, isComingSoon }: ExecClientCardProps) => {
alignItems: 'center', alignItems: 'center',
padding: '3px 6px', padding: '3px 6px',
borderRadius: '67px', borderRadius: '67px',
width: 'fit-content',
}} }}
> >
<Text size={11} color="#fff"> <Text size={11} color="#fff">

View File

@ -13,9 +13,8 @@ const ExecClientCards = () => {
<Stack <Stack
style={{ style={{
display: 'grid', display: 'grid',
gridTemplateColumns: 'repeat(auto-fill, minmax(200px, 1fr))', gridTemplateColumns: 'repeat(auto-fit, minmax(200px, 1fr))',
gap: '8px', gap: '8px',
justifyContent: 'space-between',
}} }}
> >
{Object.entries(DOCUMENTATIONS).map(([name, { icon }], index) => ( {Object.entries(DOCUMENTATIONS).map(([name, { icon }], index) => (