File tree Expand file tree Collapse file tree 3 files changed +12
-9
lines changed Expand file tree Collapse file tree 3 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -214,8 +214,8 @@ class CollectionListRowBase extends React.Component {
214
214
</ span >
215
215
</ th >
216
216
{ ( ! mobile ) && < td > { format ( new Date ( collection . createdAt ) , 'MMM D, YYYY' ) } </ td > }
217
- < td > { formatDateCell ( collection . updatedAt ) } </ td >
218
- < td > { ( collection . items || [ ] ) . length } </ td >
217
+ < td > { mobile && 'Updated: ' } { formatDateCell ( collection . updatedAt ) } </ td >
218
+ < td > { mobile && '# sketches: ' } { ( collection . items || [ ] ) . length } </ td >
219
219
< td className = "sketch-list__dropdown-column" >
220
220
{ this . renderActions ( ) }
221
221
</ td >
Original file line number Diff line number Diff line change @@ -293,8 +293,8 @@ class SketchListRowBase extends React.Component {
293
293
< th scope = "row" >
294
294
{ name }
295
295
</ th >
296
- < td > { formatDateCell ( sketch . createdAt , mobile ) } </ td >
297
- < td > { formatDateCell ( sketch . updatedAt , mobile ) } </ td >
296
+ < td > { mobile && 'Created: ' } { formatDateCell ( sketch . createdAt , mobile ) } </ td >
297
+ < td > { mobile && 'Updated: ' } { formatDateCell ( sketch . updatedAt , mobile ) } </ td >
298
298
{ this . renderDropdown ( ) }
299
299
</ tr >
300
300
</ React . Fragment > ) ;
Original file line number Diff line number Diff line change @@ -50,10 +50,13 @@ const ContentWrapper = styled(Content)`
50
50
color: ${ prop ( 'primaryTextColor' ) }
51
51
}
52
52
53
- thead th svg { margin- left: ${ remSize ( 8 ) } }
53
+ tbody td { justify-self: center; padding- left: ${ remSize ( 12 ) } }
54
54
55
- tbody td:nth-child(2) { grid-column-start: 2 }
56
- tbody td:last-child { justify-self: end; text-align: end; }
55
+ thead th svg { margin-left: ${ remSize ( 8 ) } }
56
+
57
+
58
+ tbody td:last-child { justify-self: end; text-align: end; };
59
+ .sketches-table .sketch-list__dropdown-column { min-width: unset };
57
60
58
61
tbody { height: ${ remSize ( 48 ) } ; }
59
62
@@ -68,8 +71,8 @@ const ContentWrapper = styled(Content)`
68
71
tr {
69
72
align-self: start;
70
73
display: grid;
71
- grid-template-columns: repeat(3, 5fr) 1fr ;
72
- grid-template-areas: "name name name name " "none content content content";
74
+ grid-template-columns: 5fr 5fr 2fr ;
75
+ grid-template-areas: "name name name" "content content content";
73
76
74
77
border-radius: ${ remSize ( 4 ) } ; padding: ${ remSize ( 8 ) } ;
75
78
box-shadow: 0 0 18px 0 ${ prop ( 'shadowColor' ) } ;
You can’t perform that action at this time.
0 commit comments