@primer/css 22.2.1-rc.d42e22c6 → 22.2.2-rc.3786794c

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/css",
3
- "version": "22.2.1-rc.d42e22c6",
3
+ "version": "22.2.2-rc.3786794c",
4
4
  "description": "The CSS implementation of GitHub's Primer Design System",
5
5
  "homepage": "https://primer.style/css",
6
6
  "author": "GitHub, Inc.",
@@ -109,7 +109,11 @@
109
109
  // Responsive
110
110
 
111
111
  // Hide everything by default
112
- > * {
112
+ // Bucket on the child tag (a/span/em) instead of a universal `*` subject so
113
+ // Blink can fast-reject this rule during style recalc.
114
+ > a,
115
+ > span,
116
+ > em {
113
117
  display: none;
114
118
  }
115
119
 
@@ -139,7 +143,9 @@
139
143
  // Show everything
140
144
 
141
145
  @include breakpoint(md) {
142
- > * {
146
+ > a,
147
+ > span,
148
+ > em {
143
149
  display: inline-block;
144
150
  }
145
151
  }