From beda77877ec93183054c73b0d02732f9cfe57baf Mon Sep 17 00:00:00 2001 From: Daniel Lu Date: Mon, 13 Apr 2026 17:51:28 -0700 Subject: [PATCH] fix: broken compound selector exposed by browserslist bump (Table virtualizer docs, etc) (#9922) * fix: overlapping rows in RAC Virtualizer docs table example * fix other instances --- .../@adobe/spectrum-css-temp/components/button/index.css | 2 +- starters/docs/src/Table.css | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/@adobe/spectrum-css-temp/components/button/index.css b/packages/@adobe/spectrum-css-temp/components/button/index.css index c7468d13762..34a66c658d2 100644 --- a/packages/@adobe/spectrum-css-temp/components/button/index.css +++ b/packages/@adobe/spectrum-css-temp/components/button/index.css @@ -56,7 +56,7 @@ governing permissions and limitations under the License. /* Font smoothing for Firefox */ -moz-osx-font-smoothing: grayscale; - &button { + button& { /* Correct the inability to style clickable types in iOS and Safari. */ -webkit-appearance: button; } diff --git a/starters/docs/src/Table.css b/starters/docs/src/Table.css index 6e2e4149425..b1db63964f0 100644 --- a/starters/docs/src/Table.css +++ b/starters/docs/src/Table.css @@ -14,7 +14,7 @@ forced-color-adjust: none; font: var(--font-size) system-ui; - &div { + div& { padding: 0; } @@ -56,7 +56,7 @@ transition-duration: 200ms; -webkit-tap-highlight-color: transparent; - &tr:last-child { + tr:last-child& { border-radius: 0 0 var(--radius) var(--radius); } @@ -143,7 +143,7 @@ box-sizing: border-box; -webkit-tap-highlight-color: transparent; - &div { + div& { display: flex; align-items: center; height: 100%;