Skip to content

Commit

Permalink
[imagetool] Min width on canvas (#636)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kristoffer J. Sivertsen authored and bjoerge committed Mar 5, 2018
1 parent fd65783 commit a7abf4b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/@sanity/imagetool/src/styles/ImageTool.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import 'part:@sanity/base/theme/variables-style';

.root {
width: 100%;
height: 100%;
Expand All @@ -11,4 +13,9 @@
max-width: 100%;
max-height: 100%;
user-select: none;
min-width: 250px;

@media (--screen-medium) {
min-width: 500px;
}
}

0 comments on commit a7abf4b

Please sign in to comment.