mobile: first mobile ui attempts

This commit is contained in:
muerwre 2018-12-07 15:38:26 +07:00
parent a6966fd651
commit 0941ff1ee8
8 changed files with 74 additions and 11 deletions

View file

@ -56,7 +56,7 @@ const draggablePoints = ({ routerCancel, routerSubmit }: Props) => (
);
export const RouterDialog = ({ routerPoints, routerCancel, routerSubmit, width }: Props) => (
<div className="control-dialog" style={{ width }}>
<div className="control-dialog control-dialog-big" style={{ width }}>
{!routerPoints && noPoints({ routerCancel })}
{routerPoints === 1 && firstPoint({ routerCancel })}
{routerPoints >= 2 && draggablePoints({ routerCancel, routerSubmit })}