mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-05-11 10:56:41 +07:00
appearance: much more fixes
This commit is contained in:
parent
291280c52e
commit
b586663827
11 changed files with 64 additions and 23 deletions
|
@ -2,6 +2,7 @@ import React from 'react';
|
|||
|
||||
import { MODES } from '$constants/modes';
|
||||
import { editor } from '$modules/Editor';
|
||||
import { Icon } from '$components/panels/Icon';
|
||||
|
||||
type Props = {
|
||||
stopEditing: Function,
|
||||
|
@ -24,12 +25,12 @@ export class CancelDialog extends React.Component<Props, void> {
|
|||
render() {
|
||||
return (
|
||||
<div className="helper cancel-helper">
|
||||
<div className="helper__text">
|
||||
<div className="big white">Изменения не сохранены!</div>
|
||||
<div className="small gray">Закрыть редактор?</div>
|
||||
<div className="helper__text danger">
|
||||
<Icon icon="icon-cancel-1" />
|
||||
<div className="big upper">Закрыть редактор?</div>
|
||||
</div>
|
||||
<div className="helper__buttons">
|
||||
<div className="button danger router-helper__button" onClick={this.cancel}>
|
||||
<div className="button router-helper__button" onClick={this.cancel}>
|
||||
Удалить измения
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue