Skip to content

Commit

Permalink
fix(baseline): hide banner on subgrid (#9979)
Browse files Browse the repository at this point in the history
subgrid should be baseline "green" by the old design and definition, but
we are hopefully close to announcing a new definition and designs - it
would be odd to change the banner on subgrid once, only to immediately
change it again - so hiding it for now
  • Loading branch information
LeoMcA authored Nov 8, 2023
1 parent 58b53db commit 1fc8c92
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,12 @@ async function addBaseline(
doc: Partial<Doc>
): Promise<WebFeatureStatus | undefined> {
if (doc.browserCompat) {
return await getWebFeatureStatus(...doc.browserCompat);
const filteredBrowserCompat = doc.browserCompat.filter(
(query) =>
// temporary blocklist while we wait for an updated baseline definition/designs
!["css.properties.grid-template-columns.subgrid"].includes(query)
);
return await getWebFeatureStatus(...filteredBrowserCompat);
}
}

Expand Down

0 comments on commit 1fc8c92

Please sign in to comment.