Skip to content

Commit

Permalink
use self-describing data attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
fiskus committed Jun 26, 2023
1 parent 84d707b commit d252cfc
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions catalog/app/containers/Bucket/Listing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -822,13 +822,10 @@ const useStyles = M.makeStyles((t) => ({
'& .MuiDataGrid-columnSeparator': {
pointerEvents: 'none',
},
// "Size" column in Bucket view
'&:nth-last-child(2):not(:first-child)': {
'&[data-field="size"]': {
justifyContent: 'flex-end',
},
// "Last modified" column in Bucket view
// or "Size" column in Packages view
'&:nth-last-child(1)': {
'&[data-field="modified"]': {
justifyContent: 'flex-end',
'& .MuiDataGrid-colCellTitleContainer': {
order: 1,
Expand Down

0 comments on commit d252cfc

Please sign in to comment.