Skip to content

Commit

Permalink
CSS Feedback updated
Browse files Browse the repository at this point in the history
  • Loading branch information
karthick-murugan committed Oct 23, 2024
1 parent 8a9faa6 commit c1913f7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/edit-site/src/components/site-icon/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
padding: $grid-unit-15;
}

// Add focus-visible styles
button[data-focus-visible="true"] & {
border: 2px solid #1e90ff;
}
}

.edit-site-site-icon__image {
Expand All @@ -25,8 +21,12 @@
border-radius: 0;
}

// Add focus-visible styles
button[data-focus-visible="true"] & {
border: 2px solid #1e90ff;
}

/* Apply focus border to both the site icon and image when the button is focused */
button:focus {
.edit-site-site-icon__icon,
.edit-site-site-icon__image {
border: var(--wp-admin-border-width-focus) solid var(--wp-admin-theme-color);
}
}

0 comments on commit c1913f7

Please sign in to comment.