File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 12
12
font-family : 'DM Sans' , sans-serif;
13
13
}
14
14
15
+ /* Add left: 0px for screens less than or equal to 700px */
16
+ @media (max-width : 700px ) {
17
+ .export-dropdown {
18
+ left : 0px ;
19
+ }
20
+ }
21
+
15
22
.export-dropdown-content {
16
23
padding : 8px 0 ;
17
24
}
Original file line number Diff line number Diff line change 1
1
.filter-dropdown {
2
2
position : absolute;
3
3
top : calc (100% + 8px );
4
- right : 0 ;
5
4
min-width : 400px ;
6
5
max-width : 500px ;
7
6
max-height : 500px ;
14
13
font-family : 'DM Sans' , sans-serif;
15
14
}
16
15
16
+ /* Add right: 0 only for screens greater than 700px */
17
+ @media (min-width : 701px ) {
18
+ .filter-dropdown {
19
+ right : 0 ;
20
+ }
21
+ }
22
+
17
23
.filter-dropdown-header {
18
24
display : flex;
19
25
justify-content : space-between;
Original file line number Diff line number Diff line change @@ -104,13 +104,13 @@ export const TableHeader: React.FC<TableHeaderProps> = ({
104
104
style = { { marginRight : 8 , cursor : "pointer" } }
105
105
/>
106
106
) }
107
- < span style = { { width : "16px" } } />
108
107
< span
109
108
style = { {
110
109
display : "inline-flex" ,
111
110
alignItems : "center" ,
112
111
cursor : isColumnSortable ? "pointer" : "default" ,
113
112
userSelect : "none" ,
113
+ marginLeft : index === 0 ? "16px" : "0px" ,
114
114
} }
115
115
onClick = {
116
116
isColumnSortable
You can’t perform that action at this time.
0 commit comments