mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 02:56:41 +07:00
fixed panel radiuses
This commit is contained in:
parent
dc66889a42
commit
29dde732bd
3 changed files with 8 additions and 2 deletions
|
@ -14,7 +14,7 @@ export const TrashDialog = ({
|
||||||
clearPoly, clearStickers, clearAll, clearCancel, width,
|
clearPoly, clearStickers, clearAll, clearCancel, width,
|
||||||
}: Props) => (
|
}: Props) => (
|
||||||
<div className="control-dialog" style={{ width }}>
|
<div className="control-dialog" style={{ width }}>
|
||||||
<div className="helper trash-helper">
|
<div className="helper trash-helper desktop-only">
|
||||||
<div className="helper__text danger">
|
<div className="helper__text danger">
|
||||||
<div className="big upper desktop-only">Удалить:</div>
|
<div className="big upper desktop-only">Удалить:</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -483,6 +483,10 @@ function* keyPressedSaga({ key, target }: ReturnType<typeof ActionCreators.keyPr
|
||||||
if (dialog_active) return yield put(setDialogActive(false));
|
if (dialog_active) return yield put(setDialogActive(false));
|
||||||
if (mode !== MODES.NONE) return yield put(setMode(MODES.NONE));
|
if (mode !== MODES.NONE) return yield put(setMode(MODES.NONE));
|
||||||
} else if (key === 'Delete') {
|
} else if (key === 'Delete') {
|
||||||
|
const { user: { editing } } = yield select();
|
||||||
|
|
||||||
|
if (!editing) return;
|
||||||
|
|
||||||
const { mode } = yield select(getState);
|
const { mode } = yield select(getState);
|
||||||
|
|
||||||
if (mode === MODES.TRASH) {
|
if (mode === MODES.TRASH) {
|
||||||
|
|
|
@ -244,6 +244,8 @@
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
// padding-bottom: 48px;
|
// padding-bottom: 48px;
|
||||||
box-shadow: inset rgba(255, 255, 255, 0.05) 1px 1px;
|
box-shadow: inset rgba(255, 255, 255, 0.05) 1px 1px;
|
||||||
|
background: #222222;
|
||||||
|
border-radius: @panel_radius;
|
||||||
|
|
||||||
&.top {
|
&.top {
|
||||||
bottom: auto;
|
bottom: auto;
|
||||||
|
@ -322,7 +324,7 @@
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
background: #222222;
|
//background: #222222;
|
||||||
//border-radius: @panel_radius;
|
//border-radius: @panel_radius;
|
||||||
box-shadow: @bar_shadow;
|
box-shadow: @bar_shadow;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue