Jelajahi Sumber

Revert set miniscreen to 250px.

Thanks to zlobcek, mfilser and xet7 !

Related https://github.com/wekan/wekan/discussions/4753,
related https://github.com/wekan/wekan/pull/4649
Lauri Ojansivu 2 tahun lalu
induk
melakukan
6a4e17e039

+ 2 - 1
client/components/boards/boardBody.css

@@ -32,10 +32,11 @@
   animation: fadeIn 0.2s;
   z-index: 16;
 }
+.board-wrapper .board-canvas.is-dragging-active .open-minicard-composer,
 .board-wrapper .board-canvas.is-dragging-active .minicard-wrapper.is-checked {
   display: none;
 }
-@media screen and (max-width: 250px) {
+@media screen and (max-width: 800px) {
   .board-wrapper .board-canvas .swimlane {
     border-bottom: 1px solid #ccc;
     display: flex;

+ 1 - 1
client/components/lists/list.css

@@ -159,7 +159,7 @@
 #js-wip-limit-edit div {
   float: left;
 }
-@media screen and (max-width: 250px) {
+@media screen and (max-width: 800px) {
   .mini-list {
     flex: 0 0 60px;
     height: auto;

+ 1 - 0
client/components/swimlanes/swimlanes.css

@@ -46,6 +46,7 @@
   background: #dedede;
   display: flex;
   flex-direction: row;
+  overflow: 0;
   max-height: calc(100% - 26px);
 }
 .swimlane.placeholder {

+ 1 - 1
client/lib/utils.js

@@ -255,7 +255,7 @@ Utils = {
   isMiniScreen() {
     // OLD WINDOW WIDTH DETECTION:
     this.windowResizeDep.depend();
-    return $(window).width() <= 250;
+    return $(window).width() <= 800;
   },
 
   isTouchScreen() {