Skip to content

Commit 45447dc

Browse files
author
Edgar Guaman
committed
style: TT-318 Improve column visibility
1 parent 607303c commit 45447dc

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

src/styles.scss

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,41 @@ Overwritten calendar style
6161
.cal-header .cal-cell {
6262
border: 0.1px solid lighten($primary-text, 30%);
6363
}
64+
65+
@media (max-width: 576px) {
66+
div.dt-buttons {
67+
text-align: start !important;
68+
}
69+
.dataTables_wrapper .dataTables_filter {
70+
text-align: start !important;
71+
margin-left: 40px;
72+
}
73+
div.dt-button-collection {
74+
top: 50px !important;
75+
margin-left: 50px !important;
76+
overflow-y: scroll !important;
77+
max-height: 300px !important;
78+
}
79+
}
80+
81+
@media (min-width: 576px) {
82+
div.dt-button-collection {
83+
position: fixed !important;
84+
top: 330px !important;
85+
left: 280px !important;
86+
button.active:not(.disabled) {
87+
background: $primary !important;
88+
box-shadow: none !important;
89+
}
90+
}
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+

0 commit comments

Comments
 (0)