fix: The clickable area of the 'x' in add guests section is not user friendly (#11434)
Co-authored-by: gitstart-calcom <[email protected]>
This commit is contained in:
1 parent
0b7e3510a5
commit
82d7a3db92
3 files changed
+12
-8
No files matched your search
@@ -255,16 +255,14 @@ export const Components: Record<FieldType, Component> = {
|
||||
placeholder={placeholder}
|
||||
label={<></>}
|
||||
required
|
||||
onClickAddon={() => {
|
||||
value.splice(index, 1);
|
||||
setValue(value);
|
||||
}}
|
||||
addOnSuffix={
|
||||
!readOnly ? (
|
||||
<Tooltip content="Remove email">
|
||||
<button
|
||||
className="m-1 disabled:hover:cursor-not-allowed"
|
||||
type="button"
|
||||
onClick={() => {
|
||||
value.splice(index, 1);
|
||||
setValue(value);
|
||||
}}>
|
||||
<button className="m-1" type="button">
|
||||
<X width={12} className="text-default" />
|
||||
</button>
|
||||
</Tooltip>
|
||||
|
||||
Reference in new issue
Block a user