File tree Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Original file line number Diff line number Diff line change @@ -56,19 +56,21 @@ class AssetList extends React.Component {
56
56
< table className = "asset-table" >
57
57
< thead >
58
58
< tr >
59
- < th > Name</ th >
60
- < th > Size</ th >
61
- < th > View</ th >
62
- < th > Sketch</ th >
59
+ < th scope = "col" > Name</ th >
60
+ < th scope = "col" > Size</ th >
61
+ < th scope = "col" > Sketch</ th >
63
62
</ tr >
64
63
</ thead >
65
64
< tbody >
66
65
{ assetList . map ( asset =>
67
66
(
68
67
< tr className = "asset-table__row" key = { asset . key } >
69
- < td > { asset . name } </ td >
68
+ < th scope = "row" >
69
+ < Link to = { asset . url } target = "_blank" >
70
+ { asset . name }
71
+ </ Link >
72
+ </ th >
70
73
< td > { prettyBytes ( asset . size ) } </ td >
71
- < td > < Link to = { asset . url } target = "_blank" > View</ Link > </ td >
72
74
< td > < Link to = { `/${ username } /sketches/${ asset . sketchId } ` } > { asset . sketchName } </ Link > </ td >
73
75
</ tr >
74
76
) ) }
Original file line number Diff line number Diff line change 21
21
}
22
22
}
23
23
24
- & th {
24
+ .asset-table__row >th :nth-child (1 ) {
25
+ padding-left : #{12 / $base-font-size } rem;
26
+ }
27
+
28
+ & thead th {
25
29
padding-top : #{10 / $base-font-size } rem;
26
30
padding-bottom : #{15 / $base-font-size } rem;
27
31
height : #{32 / $base-font-size } rem;
32
36
background-color : getThemifyVariable (' background-color' );
33
37
}
34
38
}
39
+
40
+ & th {
41
+ font-weight : normal ;
42
+ }
35
43
}
36
44
37
45
.asset-table__row {
You can’t perform that action at this time.
0 commit comments