Skip to content

Commit 9497438

Browse files
committed
adapt greed view from 768px till 1180px by removing columns and use mobile design earlier
1 parent 7313b3d commit 9497438

File tree

1 file changed

+31
-2
lines changed

1 file changed

+31
-2
lines changed

src/components/Grid/GridView.scss

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@import '~tc-ui/src/styles/tc-includes';
2+
@import '../../styles/variables';
23

34
:global {
45
.gridview-content.content {
@@ -7,7 +8,6 @@
78

89
.container {
910
width: auto;
10-
min-width: 1120px;
1111
padding: 0;
1212
background: $tc-white;
1313
margin: 0 20px 20px 20px;
@@ -552,7 +552,36 @@
552552
}
553553
}
554554

555-
@media screen and (max-width: $screen-md - 1px) {
555+
@media screen and (max-width: 1180px - 1px) {
556+
.flex-data {
557+
.flex-row .flex-item-title.item-id {
558+
display: none;
559+
}
560+
561+
.flex-row:not(.row-th) .flex-item-title.item-icon {
562+
justify-content: center;
563+
width: 62px;
564+
}
565+
}
566+
}
567+
568+
@media screen and (max-width: 1160px - 1px) {
569+
.flex-data {
570+
.flex-row .flex-item-title.item-manager {
571+
display: none;
572+
}
573+
}
574+
}
575+
576+
@media screen and (max-width: 1024px - 1px) {
577+
.flex-data {
578+
.flex-row .flex-item-title.item-status {
579+
display: none;
580+
}
581+
}
582+
}
583+
584+
@media screen and (max-width: $screen-rg - 1px) {
556585
.flex-data {
557586
.row .flex-item-title {
558587
display: none;

0 commit comments

Comments
 (0)