File tree Expand file tree Collapse file tree 3 files changed +15
-14
lines changed Expand file tree Collapse file tree 3 files changed +15
-14
lines changed Original file line number Diff line number Diff line change @@ -76,3 +76,15 @@ code {
76
76
height : 100% ;
77
77
width : 100% ;
78
78
}
79
+ [aria-sort = "ascending" ].govuk-table__header .top-triangle {
80
+ fill : # 222 ;
81
+ }
82
+ [aria-sort = "ascending" ].govuk-table__header .bottom-triangle {
83
+ fill : # bcbcbd ;
84
+ }
85
+ [aria-sort = "descending" ].govuk-table__header .top-triangle {
86
+ fill : # bcbcbd ;
87
+ }
88
+ [aria-sort = "descending" ].govuk-table__header .bottom-triangle {
89
+ fill : # 222 ;
90
+ }
Original file line number Diff line number Diff line change 144
144
class ={` govuk-table__header ${column .dataType === " number" ? " govuk-table__header--numeric" : " " } ` }
145
145
title ={metaData [column .key ].explainer }
146
146
aria-sort ={sortState .column !== column .key
147
- ? " not-sorted "
147
+ ? " none "
148
148
: sortState .column === column .key &&
149
149
sortState .order === " descending"
150
150
? " descending"
232
232
border-radius : 10% ;
233
233
padding : 6px ;
234
234
}
235
-
236
- :global([aria-sort = " ascending" ].govuk-table__header .top-triangle ) {
237
- fill : #222 ;
238
- }
239
- :global([aria-sort = " ascending" ].govuk-table__header .bottom-triangle ) {
240
- fill : #bcbcbd ;
241
- }
242
- :global([aria-sort = " descending" ].govuk-table__header .top-triangle ) {
243
- fill : #bcbcbd ;
244
- }
245
- :global([aria-sort = " descending" ].govuk-table__header .bottom-triangle ) {
246
- fill : #222 ;
247
- }
248
235
</style >
Original file line number Diff line number Diff line change 138
138
xmlns =" http://www.w3.org/2000/svg"
139
139
>
140
140
<path
141
+ class =" top-triangle"
141
142
d =" M8.1875 9.5L10.9609 3.95703L13.7344 9.5H8.1875Z"
142
143
fill =" currentColor"
143
144
></path >
144
145
<path
146
+ class =" bottom-triangle"
145
147
d =" M13.7344 12.0781L10.9609 17.6211L8.1875 12.0781H13.7344Z"
146
148
fill =" currentColor"
147
149
></path >
You can’t perform that action at this time.
0 commit comments