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,
|
||||
}: Props) => (
|
||||
<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="big upper desktop-only">Удалить:</div>
|
||||
</div>
|
||||
|
|
|
@ -483,6 +483,10 @@ function* keyPressedSaga({ key, target }: ReturnType<typeof ActionCreators.keyPr
|
|||
if (dialog_active) return yield put(setDialogActive(false));
|
||||
if (mode !== MODES.NONE) return yield put(setMode(MODES.NONE));
|
||||
} else if (key === 'Delete') {
|
||||
const { user: { editing } } = yield select();
|
||||
|
||||
if (!editing) return;
|
||||
|
||||
const { mode } = yield select(getState);
|
||||
|
||||
if (mode === MODES.TRASH) {
|
||||
|
|
|
@ -244,6 +244,8 @@
|
|||
box-sizing: border-box;
|
||||
// padding-bottom: 48px;
|
||||
box-shadow: inset rgba(255, 255, 255, 0.05) 1px 1px;
|
||||
background: #222222;
|
||||
border-radius: @panel_radius;
|
||||
|
||||
&.top {
|
||||
bottom: auto;
|
||||
|
@ -322,7 +324,7 @@
|
|||
font-size: 1em;
|
||||
display: flex;
|
||||
|
||||
background: #222222;
|
||||
//background: #222222;
|
||||
//border-radius: @panel_radius;
|
||||
box-shadow: @bar_shadow;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue