Skip to content

Commit

Permalink
PB-1235 : only resize layer legend on tablet and higher screens
Browse files Browse the repository at this point in the history
Creates more problems than it solves on mobile
  • Loading branch information
pakb committed Nov 27, 2024
1 parent 7eb5306 commit f44337b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/utils/components/SimpleWindow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -136,16 +136,16 @@ onMounted(() => {
max-width: 400px;
max-height: max-content;
&.resizable {
min-width: min-content;
width: min-content;
height: min(500px, calc(100vh - $top-margin));
max-width: max-content;
resize: both;
overflow: auto;
}
@include respond-above(phone) {
&.resizable {
min-width: min-content;
width: min-content;
height: min(500px, calc(100vh - $top-margin));
max-width: max-content;
resize: both;
overflow: auto;
}
&.wide {
max-width: calc(100vw - $menu-tray-width - 2rem);
min-width: 50vw;
Expand Down

0 comments on commit f44337b

Please sign in to comment.