Skip to content

Commit

Permalink
Keep alignment of custom search results action icons
Browse files Browse the repository at this point in the history
  • Loading branch information
felipeelia committed Nov 27, 2024
1 parent 51d6e46 commit f8ca52b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion assets/css/ordering.css
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
}

& .delete-pointer {
margin-left: 10px;
margin-right: 10px;
}
}

Expand Down
16 changes: 8 additions & 8 deletions assets/js/ordering/pointers.js
Original file line number Diff line number Diff line change
Expand Up @@ -421,14 +421,6 @@ export class Pointers extends Component {
)}
<strong className="title">{title}</strong>
<div className="pointer-actions">
<span
className="dashicons dashicons-menu handle"
{...provided2.dragHandleProps}
title={__(
'Drag post up or down to reposition',
'elasticpress',
)}
/>
{item.order && (
<span
role="button"
Expand All @@ -449,6 +441,14 @@ export class Pointers extends Component {
</span>
</span>
)}
<span
className="dashicons dashicons-menu handle"
{...provided2.dragHandleProps}
title={__(
'Drag post up or down to reposition',
'elasticpress',
)}
/>
</div>
</div>
)}
Expand Down

0 comments on commit f8ca52b

Please sign in to comment.