Skip to content

Commit

Permalink
fix(web): prevent jumping the page contents on mobile when editing no…
Browse files Browse the repository at this point in the history
…tes offline (#1294)
  • Loading branch information
vardan-arm committed Jul 14, 2022
1 parent 9a297fe commit aaf68a8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/web/src/stylesheets/_editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ $heading-height: 75px;
&:disabled {
color: var(--editor-title-input-color);
}

&:focus {
box-shadow: none;
}
Expand All @@ -65,9 +66,12 @@ $heading-height: 75px;
#save-status-container {
position: relative;
min-width: 16ch;
max-width: 16ch;
overflow: visible;
margin-right: 20px;

@media screen and (min-width: 768px) {
max-width: 16ch;
}
}

#save-status {
Expand Down

0 comments on commit aaf68a8

Please sign in to comment.