forked from M-Labs/web2019
Fix options pop up being both first and last
Signed-off-by: Egor Savkin <es@m-labs.hk>
This commit is contained in:
parent
68677dce6e
commit
c7b0d5568c
@ -12,7 +12,7 @@ export function DialogPopup({options, data, target, id, big, first, last, option
|
||||
}
|
||||
);
|
||||
|
||||
let div_classes = `overlayVariant border rounded ${big ? "overlay-bigcard" : "overlay-smallcard"} ${(!big && first) ? "overlay-first" : ""} ${(!big && last) ? "overlay-last" : ""} ${options_class || ""}`;
|
||||
let div_classes = `overlayVariant border rounded ${big ? "overlay-bigcard" : "overlay-smallcard"} ${(!big && first) ? "overlay-first" : ""} ${(!big && last && !first) ? "overlay-last" : ""} ${options_class || ""}`;
|
||||
const handleClick = (_event) => {
|
||||
setShow(!show);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user