mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
tweak(phone/call-modal): Tweaked appearance of call modal (#178)
Correct actions will now display if calling another player. Also added ringing flavor text when the person calling is the transmitter.
This commit is contained in:
15 files changed
+248
-136
No files matched your search
@@ -23,7 +23,7 @@ const useStyles = makeStyles(() => ({
|
||||
|
||||
export const AppContent = ({
|
||||
children,
|
||||
style,
|
||||
paperStyle,
|
||||
backdrop,
|
||||
onClickBackdrop,
|
||||
...props
|
||||
@@ -38,7 +38,7 @@ export const AppContent = ({
|
||||
>
|
||||
<Backdrop className={classes.backdrop} open={backdrop || false} onClick={onClickBackdrop} />
|
||||
<Box flexGrow={1} className={classes.box} {...props}>
|
||||
<Paper square elevation={0} className={classes.paper}>
|
||||
<Paper square elevation={0} className={classes.paper} style={paperStyle}>
|
||||
{children}
|
||||
</Paper>
|
||||
</Box>
|
||||
|
||||
@@ -2,7 +2,7 @@ import { CSSProperties } from 'react';
|
||||
|
||||
export interface AppContentTypes {
|
||||
children?: JSX.Element | JSX.Element[];
|
||||
style?: CSSProperties;
|
||||
paperStyle?: CSSProperties;
|
||||
backdrop?: boolean;
|
||||
onClickBackdrop?: (...args: any[]) => void;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user