mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 19:16:41 +07:00
fixed some dialogs
This commit is contained in:
parent
39d950d5c5
commit
8c3ce1d1a5
4 changed files with 74 additions and 38 deletions
|
@ -13,13 +13,15 @@ type Props = {
|
|||
export const TrashDialog = ({
|
||||
clearPoly, clearStickers, clearAll, clearCancel, width,
|
||||
}: Props) => (
|
||||
<div className="control-dialog control-dialog-big" style={{ width }}>
|
||||
<div className="control-dialog" style={{ width }}>
|
||||
<div className="helper trash-helper">
|
||||
<div className="helper__text danger">
|
||||
<Icon icon="icon-trash-4" />
|
||||
<div className="big upper desktop-only">Удалить:</div>
|
||||
</div>
|
||||
<div className="helper__buttons">
|
||||
</div>
|
||||
<div className="helper trash-helper">
|
||||
<div className="helper__buttons flex_1">
|
||||
<div className="button-group">
|
||||
<div className="button router-helper__button" onClick={clearPoly}>
|
||||
Маршрут
|
||||
|
@ -31,6 +33,7 @@ export const TrashDialog = ({
|
|||
ВСЕ
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex_1" />
|
||||
<div className="button primary router-helper__button" onClick={clearCancel}>
|
||||
Отмена
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue