[ENG-1643] Fix remove tag button size (#2139)

Fix button size
This commit is contained in:
nikec 2024-02-28 16:36:15 +01:00 committed by GitHub
parent a87d53e309
commit 46dc7e8669
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,8 +45,8 @@ export default ({ tag, onDelete }: Props) => {
return ( return (
<Form form={form}> <Form form={form}>
<div className="flex justify-between"> <div className="mb-10 flex items-end justify-between ">
<div className="mb-10 flex flex-row space-x-3"> <div className="flex flex-row space-x-3">
<InputField <InputField
label={t('color')} label={t('color')}
maxLength={7} maxLength={7}
@ -59,7 +59,7 @@ export default ({ tag, onDelete }: Props) => {
</div> </div>
<Button <Button
variant="gray" variant="gray"
className="mt-[22px] h-[38px]" className="flex size-[30px] items-center justify-center"
onClick={() => onClick={() =>
dialogManager.create((dp) => ( dialogManager.create((dp) => (
<DeleteDialog {...dp} tagId={tag.id} onSuccess={onDelete} /> <DeleteDialog {...dp} tagId={tag.id} onSuccess={onDelete} />