mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
fixed stickers scroll
This commit is contained in:
parent
bc5892120f
commit
738f69fff4
4 changed files with 11 additions and 4 deletions
|
@ -109,13 +109,13 @@ class EditorPanelUnconnected extends PureComponent<Props, void> {
|
|||
active: can_undo || can_redo || can_clear,
|
||||
})}
|
||||
>
|
||||
<button className={classnames({ inactive: !can_undo })} onClick={this.props.editorUndo}>
|
||||
<button className={classnames('undo-button', { inactive: !can_undo })} onClick={this.props.editorUndo}>
|
||||
<Tooltip>Отмена (z)</Tooltip>
|
||||
<Icon icon="icon-undo" size={24} />
|
||||
</button>
|
||||
|
||||
<button
|
||||
className={classnames({
|
||||
className={classnames('undo-button', {
|
||||
inactive: !can_redo,
|
||||
})}
|
||||
onClick={this.props.editorRedo}
|
||||
|
|
|
@ -60,6 +60,11 @@
|
|||
}
|
||||
}
|
||||
|
||||
.panel button.undo-button {
|
||||
@media (max-width: 420px) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.panel {
|
||||
position: fixed;
|
||||
left: 10px;
|
||||
|
@ -267,7 +272,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
@media (max-width: $micro_breakpoint) {
|
||||
@media (max-width: 350px) {
|
||||
bottom: 68px;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -181,6 +181,8 @@
|
|||
.stickers-helper {
|
||||
flex-direction: column;
|
||||
padding-top: 0;
|
||||
max-height: calc(100vh - 60px - 72px);
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.stickers-grid {
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
}
|
||||
|
||||
.user-bar-guest {
|
||||
// width: 168px;
|
||||
width: 38px;
|
||||
@media (min-width: $mobile_breakpoint) {
|
||||
width: 158px;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue