Skip to content

Commit 41ecf10

Browse files
committed
Merge branch 'feature/mobile-examples' of https://github.com/ghalestrilo/p5.js-web-editor into feature/mobile-files-tab
2 parents c50ca2a + a28a4a5 commit 41ecf10

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

client/modules/Mobile/MobileDashboardView.jsx

Lines changed: 14 additions & 9 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,17 +44,20 @@ 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)}}
5552
5653
thead th svg { margin-left: ${remSize(8)} }
5754
58-
tbody td:last-child { justify-self: end; text-align: end; };
59-
.sketches-table .sketch-list__dropdown-column { min-width: unset };
55+
56+
tbody td { justify-self: start; text-align: start; padding: 0 }
57+
tbody td:nth-child(2) { justify-self: start; text-align: start; padding-left: ${remSize(12)}};
58+
tbody td:last-child { justify-self: end; text-align: end; };
59+
60+
.sketch-list__dropdown-column { width: auto; };
6061
6162
tbody { height: ${remSize(48)}; }
6263
@@ -65,8 +66,11 @@ const ContentWrapper = styled(Content)`
6566
background: ${prop('SketchList.background')};
6667
}
6768
.sketches-table__row {
68-
background: ${prop('SketchList.card.background')} !important; height: auto
69+
background: ${prop('SketchList.card.background')} !important;
70+
height: auto
6971
}
72+
73+
7074
7175
tr {
7276
align-self: start;
@@ -75,17 +79,18 @@ const ContentWrapper = styled(Content)`
7579
};
7680
7781
thead tr {
78-
grid-template-columns: auto ${remSize(100)} ${remSize(100)} 0fr;
82+
grid-template-columns: 1fr 1fr 1fr 0fr;
7983
}
8084
8185
tbody tr {
8286
padding: ${remSize(8)};
8387
border-radius: ${remSize(4)};
84-
grid-template-columns: 5fr 5fr 2fr;
88+
grid-template-columns: 5fr 5fr 1fr;
8589
grid-template-areas: "name name name" "content content content";
8690
}
8791
8892
.loader-container { position: fixed ; padding-bottom: 32% }
93+
8994
`;
9095

9196
const Subheader = styled.div`

0 commit comments

Comments
 (0)