Skip to content

Commit

Permalink
Fix/sites table padding v2 (#88876)
Browse files Browse the repository at this point in the history
* tighten padding on sites table
* tidy up padding
  • Loading branch information
roo2 authored Mar 26, 2024
1 parent b125880 commit 08f8d3b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion client/sites-dashboard/components/sites-table-row.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const Row = styled.tr`
const Column = styled.td< { tabletHidden?: boolean } >`
padding-block-start: 12px;
padding-block-end: 12px;
padding-inline-end: 24px;
padding-inline-end: 12px;
vertical-align: middle;
font-size: 14px;
line-height: 20px;
Expand Down
10 changes: 4 additions & 6 deletions client/sites-dashboard/components/sites-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,8 @@ const SiteTh = styled.th( {
},
} );

const PlanTh = styled.th( {
[ MEDIA_QUERIES.wide ]: {
width: '15%',
},
const StatusTh = styled.th( {
width: '140px',
} );

const StatsTh = styled.th( {
Expand Down Expand Up @@ -148,8 +146,8 @@ export function SitesTable( { className, sites, isLoading = false }: SitesTableP
>
<Row>
<SiteTh>{ __( 'Site' ) }</SiteTh>
<PlanTh>{ __( 'Plan' ) }</PlanTh>
<th>{ __( 'Status' ) }</th>
<th>{ __( 'Plan' ) }</th>
<StatusTh>{ __( 'Status' ) }</StatusTh>
<th>{ __( 'Last Publish' ) }</th>
<StatsTh>
<StatsThInner>
Expand Down

0 comments on commit 08f8d3b

Please sign in to comment.