Skip to content

Commit 19bff74

Browse files
committed
👌 distribute table header evenly
1 parent a9061af commit 19bff74

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

client/modules/Mobile/MobileDashboardView.jsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,9 @@ const ContentWrapper = styled(Content)`
3131
3232
td ,thead button {
3333
font-size: ${remSize(10)};
34-
padding-left: 0;
3534
text-align: left;
3635
};
3736
38-
3937
tbody th {
4038
font-size: ${remSize(16)};
4139
width: 100%;
@@ -46,16 +44,17 @@ const ContentWrapper = styled(Content)`
4644
};
4745
4846
tbody td, thead th {
49-
justify-self: stretch;
47+
justify-self: center;
5048
align-self: flex-end;
5149
color: ${prop('primaryTextColor')}
5250
}
5351
54-
tbody td { justify-self: center; padding-left: ${remSize(12)}}
55-
5652
thead th svg { margin-left: ${remSize(8)} }
5753
54+
tbody td:first-child { justify-self: start; text-align: start; };
55+
tbody td { justify-self: center; }
5856
tbody td:last-child { justify-self: end; text-align: end; };
57+
5958
.sketches-table .sketch-list__dropdown-column { min-width: unset };
6059
6160
tbody { height: ${remSize(48)}; }
@@ -75,7 +74,7 @@ const ContentWrapper = styled(Content)`
7574
};
7675
7776
thead tr {
78-
grid-template-columns: auto ${remSize(100)} ${remSize(100)} 0fr;
77+
grid-template-columns: 1fr 1fr 1fr 0fr;
7978
}
8079
8180
tbody tr {
@@ -86,6 +85,7 @@ const ContentWrapper = styled(Content)`
8685
}
8786
8887
.loader-container { position: fixed ; padding-bottom: 32% }
88+
8989
`;
9090

9191
const Subheader = styled.div`

0 commit comments

Comments
 (0)