Skip to content

Commit

Permalink
make warning links prettier (#326)
Browse files Browse the repository at this point in the history
- add parentheses around them
- scoot the link a bit farther away from the warning message
  • Loading branch information
NovemLinguae authored Apr 23, 2024
1 parent a76f51c commit cd748e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/less/submissions.less
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
padding: 8px 0px;

> a {
padding-left: 2px;
padding-left: 5px;
font-size: 0.8em;
color: @sexyblack;
}
Expand Down
2 changes: 1 addition & 1 deletion src/modules/submissions.js
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,7 @@
if ( actionMessage !== false ) {
$action = $( '<a>' )
.addClass( 'link' )
.text( actionMessage || 'Edit page' )
.text( '(' + ( actionMessage || 'Edit page' ) + ')' )
.appendTo( $warning );

if ( typeof onAction === 'function' ) {
Expand Down

0 comments on commit cd748e2

Please sign in to comment.