mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
appearance: much more fixes
This commit is contained in:
parent
291280c52e
commit
b586663827
11 changed files with 64 additions and 23 deletions
|
@ -46,9 +46,19 @@ export const Component = (props: Props) => {
|
|||
|| mode === MODES.CONFIRM_CANCEL
|
||||
);
|
||||
|
||||
const dialogIsSmall = (
|
||||
mode === MODES.LOGO
|
||||
);
|
||||
|
||||
return (
|
||||
showDialog &&
|
||||
<div id="control-dialog" style={{ width }}>
|
||||
<div
|
||||
id="control-dialog"
|
||||
style={{
|
||||
width: dialogIsSmall ? 201 : width,
|
||||
right: dialogIsSmall ? 217 : 10,
|
||||
}}
|
||||
>
|
||||
{ mode === MODES.ROUTER && <RouterDialog {...props} /> }
|
||||
{ mode === MODES.STICKERS && <StickersDialog {...props} /> }
|
||||
{ mode === MODES.TRASH && <TrashDialog {...props} /> }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue