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
This commit is contained in:
Lauri Ojansivu 2022-11-21 23:29:44 +02:00
parent 0849df2e88
commit 6a4e17e039
4 changed files with 5 additions and 3 deletions

View file

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

View file

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

View file

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

View file

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