Skip to content

Commit 7e303dd

Browse files
author
Edgar Guaman
committed
style: TT-318 Improve column visibility option
1 parent 360acd5 commit 7e303dd

File tree

1 file changed

+8
-17
lines changed

1 file changed

+8
-17
lines changed

src/styles.scss

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -62,40 +62,31 @@ Overwritten calendar style
6262
border: 0.1px solid lighten($primary-text, 30%);
6363
}
6464

65-
@media (max-width: 576px) {
65+
@media (max-width: 640px) {
6666
div.dt-buttons {
6767
text-align: start !important;
6868
}
6969
.dataTables_wrapper .dataTables_filter {
7070
text-align: start !important;
71-
margin-left: 40px;
7271
}
7372
div.dt-button-collection {
74-
top: 50px !important;
73+
position: fixed !important;
74+
top: 250px !important;
7575
margin-left: 50px !important;
7676
overflow-y: scroll !important;
7777
max-height: 300px !important;
78+
button.active:not(.disabled) {
79+
background: $primary !important;
80+
box-shadow: none !important;
81+
}
7882
}
7983
}
8084

8185
@media (min-width: 576px) {
8286
div.dt-button-collection {
83-
position: fixed !important;
84-
top: 330px !important;
85-
left: 280px !important;
8687
button.active:not(.disabled) {
8788
background: $primary !important;
8889
box-shadow: none !important;
8990
}
9091
}
91-
}
92-
93-
/* div.dt-button-collection {
94-
position: fixed !important;
95-
top: 330px !important;
96-
margin-left: 280px !important;
97-
overflow-y: scroll !important;
98-
max-height: 300px !important;
99-
}
100-
*/
101-
92+
}

0 commit comments

Comments
 (0)