Skip to content

Commit

Permalink
Attempting to fix zoom reformatting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
andyherbert committed Sep 8, 2022
1 parent 2cd879a commit 0b5c932
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/document/ui/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ function zoom_in() {
}

function zoom_out() {
set_zoom(Math.max(current_zoom_factor() - 0.1, 0.4));
set_zoom(Math.max(current_zoom_factor() - 0.1, 0.5));
}

function actual_size() {
Expand Down
3 changes: 2 additions & 1 deletion server/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ body {
}
#viewport {
float: left;
width: calc(100% - 300px);
left: 1px;
width: calc(100% - 302px);
height: 100%;
overflow: auto;
}
Expand Down

0 comments on commit 0b5c932

Please sign in to comment.