Skip to content

Commit

Permalink
updates sass doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
derekshirk committed Jun 17, 2020
1 parent f87ec99 commit 24e0515
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/vendor/wordpress/_wordpress.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@ $wp-button-gap: sizes.$list-inline-gap;
}

/**
* The following three selectors target a class name _and_ a universal
* selector (*). This is intentional because the Gutenberg file block can
* generate two different elements, a file-link and a file-button and we
* want to style both of them with the same visual appearance and
* characteristics. We could easily have chosen `:not(.wp-block-file__button)`
* but opted for less characters.
*
* 1. Prevents default WP styling from modifying buttons opacity on hover.
*/

Expand Down

0 comments on commit 24e0515

Please sign in to comment.