Skip to content

Commit

Permalink
fix: limit web container width
Browse files Browse the repository at this point in the history
  • Loading branch information
little-buddy committed Dec 15, 2023
1 parent 07bb567 commit 7fdac0a
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions src/layout/container.less
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,22 @@
display: none;
}
}
&-md {
width: @md-width !important;
height: @md-height !important;
}
&-lg {
transform: matrix(1, 0, 0, 1, 0, 0) !important;
}
&-draging {
transition: none;
}
&-electron {
width: 100% !important;
max-width: none !important;
height: 100%;
box-shadow: none;
}
}

.container.container-md {
width: @md-width;
height: @md-height;
}

.container.container-electron {
width: 100% !important;
max-width: none !important;
height: 100%;
box-shadow: none;
}

0 comments on commit 7fdac0a

Please sign in to comment.