mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-25 03:49:11 +00:00
fix(RolePicker): wrap Reset/Submit in a div to fix positioning
Signed-off-by: Katalina Okano <git@kat.cafe>
This commit is contained in:
parent
c1b9153bf4
commit
cc592a9da1
1 changed files with 14 additions and 10 deletions
|
@ -114,16 +114,20 @@ export const RolePicker = (props: RolePickerProps) => {
|
||||||
</CategoryContainer>
|
</CategoryContainer>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
<FaderOpacity
|
<div>
|
||||||
isVisible={xor(selectedRoles, props.member.roles).length !== 0}
|
<FaderOpacity
|
||||||
>
|
isVisible={
|
||||||
<ResetSubmit
|
xor(selectedRoles, props.member.roles).length !== 0
|
||||||
onSubmit={() => props.onSubmit(selectedRoles)}
|
}
|
||||||
onReset={() => {
|
>
|
||||||
updateSelectedRoles(props.member.roles);
|
<ResetSubmit
|
||||||
}}
|
onSubmit={() => props.onSubmit(selectedRoles)}
|
||||||
/>
|
onReset={() => {
|
||||||
</FaderOpacity>
|
updateSelectedRoles(props.member.roles);
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
</FaderOpacity>
|
||||||
|
</div>
|
||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
<InfoBox>
|
<InfoBox>
|
||||||
|
|
Loading…
Add table
Reference in a new issue