Hold Fix
This commit is contained in:
1 parent
7e8a7d7210
commit
894b02597a
6 files changed
+33
-9
No files matched your search
@@ -108,7 +108,9 @@ export default function ChargedButton({
|
||||
className={styles["charged-button-frame"]}
|
||||
aria-hidden="true"
|
||||
style={{ backgroundImage: whiteText ? "url(/buttons/Button_weiß.png)" : "url(/buttons/Button_leer.webp)" }}
|
||||
onContextMenu={() => false}
|
||||
onContextMenu={(e) => {
|
||||
e.preventDefault();
|
||||
}}
|
||||
/>
|
||||
|
||||
<span
|
||||
@@ -119,7 +121,9 @@ export default function ChargedButton({
|
||||
clipPath: `inset(0 ${clipPercent}% 0 0)`,
|
||||
WebkitClipPath: `inset(0 ${clipPercent}% 0 0)`,
|
||||
}}
|
||||
onContextMenu={() => false}
|
||||
onContextMenu={(e) => {
|
||||
e.preventDefault();
|
||||
}}
|
||||
/>
|
||||
|
||||
<span className={clsx(styles["charged-button-label"], "lancelot-regular", whiteText && styles["charged-button-label-whiteText"])}>{children}</span>
|
||||
|
||||
@@ -34,6 +34,9 @@ export default function OldButton({children, long=true, red=true, disabled=false
|
||||
}
|
||||
alt={"Button Background"}
|
||||
className={styles["image"]}
|
||||
onContextMenu={(e) => {
|
||||
e.preventDefault();
|
||||
}}
|
||||
/>
|
||||
<span className={clsx(styles["label"], "lancelot-regular", disabled && styles["label-disabled"])}>
|
||||
{children}
|
||||
|
||||
Reference in new issue
Block a user