Skip to content

Commit

Permalink
Site Icon Focus for svg images
Browse files Browse the repository at this point in the history
  • Loading branch information
karthick-murugan committed Oct 8, 2024
1 parent 9385516 commit 8a9faa6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/edit-site/src/components/site-icon/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
// Make the WordPress icon not so big in full canvas.
padding: $grid-unit-15;
}

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

.edit-site-site-icon__image {
Expand All @@ -22,7 +27,6 @@

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

0 comments on commit 8a9faa6

Please sign in to comment.