From a0cc76022af99427012518763256867a95d5706a Mon Sep 17 00:00:00 2001 From: sebastien Date: Fri, 19 Apr 2024 12:57:05 +0200 Subject: [PATCH 1/2] simplify CSS solution --- .../src/theme/Navbar/Search/styles.module.css | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/packages/docusaurus-theme-classic/src/theme/Navbar/Search/styles.module.css b/packages/docusaurus-theme-classic/src/theme/Navbar/Search/styles.module.css index 2ac02325131a..b59d29e3fce6 100644 --- a/packages/docusaurus-theme-classic/src/theme/Navbar/Search/styles.module.css +++ b/packages/docusaurus-theme-classic/src/theme/Navbar/Search/styles.module.css @@ -9,15 +9,8 @@ Workaround to avoid rendering empty search container See https://github.com/facebook/docusaurus/pull/9385 */ -/* -TODO temporary @supports check, remove before 2025 -only needed for Firefox < 121 -see https://github.com/facebook/docusaurus/issues/9527#issuecomment-1805272379 - */ -@supports selector(:has(*)) { - .navbarSearchContainer:not(:has(> *)) { - display: none; - } +.navbarSearchContainer:empty { + display: none; } @media (max-width: 996px) { From f54515771dd8beca5867ea297b9c5fdb62aef7c5 Mon Sep 17 00:00:00 2001 From: slorber Date: Fri, 19 Apr 2024 11:03:37 +0000 Subject: [PATCH 2/2] refactor: apply lint autofix --- project-words.txt | 138 +++++++++++++++++++++++----------------------- 1 file changed, 69 insertions(+), 69 deletions(-) diff --git a/project-words.txt b/project-words.txt index 9cda2a465964..2378c09abd97 100644 --- a/project-words.txt +++ b/project-words.txt @@ -6,10 +6,10 @@ alexbdebrie Alexey algoliasearch Allez -Anshul anshul -APFS +Anshul apfs +APFS appinstalled Applanga architecting @@ -17,20 +17,20 @@ Astro atrule Autoconverted autofix -Autogen autogen +Autogen autogenerating autohide Autolinks Bartosz beforeinstallprompt Bhatt -Blockquotes blockquotes +Blockquotes Bokmål browserstack -Buble buble +Buble Buble's bunx caabernathy @@ -41,14 +41,14 @@ camelcase Candillon cdabcdab cdpath -Cena cena +Cena changefreq -Chedeau chedeau +Chedeau Clément -Codegen codegen +Codegen codesandbox Codespaces commonmark @@ -58,44 +58,44 @@ Couriol creativecommons Csapo Csvg -Customizability customizability -Dabit +Customizability dabit +Dabit Daishi -Datagit datagit +Datagit Datagit's dedup Déja devto dingers Dmitry -Docsearch docsearch +Docsearch Docsify -Docu docu +Docu docusuarus Docz -Dogfood dogfood -Dogfooding +Dogfood dogfooding +Dogfooding Dojocat -Dyte dyte +Dyte easyops -Endi endi -Endi's -Endilie +Endi endilie +Endilie endiliey +Endi's ERRNAMETOOLONG evaluable -Execa execa +Execa externalwaiting failfast Fargate @@ -112,17 +112,17 @@ gabrielcsapo Gifs Goss Goyal -Gtag gtag +Gtag hahaha Hamel -Hasura hasura +Hasura Heavener Héctor héllô -Hideable hideable +Hideable hola Hostman hoverable @@ -131,15 +131,15 @@ IANAD idempotency Iframes Immer -Infima infima +Infima Infima's inlines Intelli intellij interactiveness -Interpolatable interpolatable +Interpolatable Investec javadoc jiti @@ -148,67 +148,67 @@ jodyheavener joshcena jssdk Kaszubowski -Katex katex +Katex Kato -Keytar keytar +Keytar Kinsta Knapen Koyeb Koyeb's Lamana -Lastmod lastmod -Lifecycles +Lastmod lifecycles -Linkify +Lifecycles linkify +Linkify Localizable lockb Lorber Lorber's -LQIP lqip +LQIP lunrjs Marcey Marcey's -Markprompt markprompt +Markprompt Massoud mathjax maxlynch maxresdefault -MDAST mdast +MDAST mdwn MDXA MDXAST MDXHAST -Mdxjs mdxjs -Meilisearch +Mdxjs meilisearch +Meilisearch merveilleuse metadatum metastring metrica Metrika -Microdata microdata -Mindmap +Microdata mindmap +Mindmap mkdn mkdocs mkdown -Moesif moesif +Moesif msapplication Nabors Nakagawa nand -Navigations navigations +Navigations navlink netrc Nextra @@ -226,38 +226,38 @@ opensearch opensearchdescription opensource optimizt -Orama orama -Orta +Orama orta -Outerbounds +Orta +O’Shannessy outerbounds +Outerbounds overrideable ozaki -O’Shannessy pageview -Palenight palenight +Palenight Paletton Palo -Paraiso paraiso +Paraiso pathinfo paularmstrong philpl -Photoshop photoshop +Photoshop picomatch Pipeable playbtn -Pluggable pluggable -Plushie +Pluggable plushie +Plushie plushies posthog -Precache precache +Precache precached precaching preconfigured @@ -267,8 +267,8 @@ printfn println prismjs producthunt -Profilo profilo +Profilo Protobuf protobuffet PRPL @@ -278,8 +278,8 @@ Qovery quasis Quddus Quddús -Quickwit quickwit +Quickwit rachelnabors Ramón reactjs @@ -290,31 +290,31 @@ Redoc redocusaurus redwoodjs refactorings -Rehype rehype -Reloadable +Rehype reloadable +Reloadable renderable REPONAME -Retrocompatibility retrocompatibility -Retrocompatible +Retrocompatibility retrocompatible +Retrocompatible rmiz rtcts rtlcss saurus Scaleway -Sebastien sebastien +Sebastien Sébastien sebastienlorber sensical setaf setext setlocal -Shiki shiki +Shiki shortcodes showinfo Sida @@ -323,8 +323,8 @@ slorber sluggified sluggifies sluggify -Solana solana +Solana spâce stackblitz stackblitzrc @@ -344,14 +344,14 @@ subsetting subsubcategory subsubfolder subsubsection -Subsubsubfolder subsubsubfolder +Subsubsubfolder Sucipto sunsetting -Supabase supabase -SVGR +Supabase svgr +SVGR swizzlable Teik templating @@ -361,32 +361,32 @@ toolset toplevel Transifex transpiles -Treeified treeified +Treeified treeifies treeify -Triaging triaging +Triaging TSES twoslash typecheck typesafe -Typesense typesense +Typesense Unavatar unlinkable -Unlisteds unlisteds -Unlocalized +Unlisteds unlocalized +Unlocalized unnormalized unswizzle upvotes urlset Vannicatte vbnet -Vetter vetter +Vetter vfile Vicenti Vieira @@ -395,8 +395,8 @@ Vinnik vjeux voir waivable -WCAG wcag +WCAG webfactory webpackbar webstorm @@ -404,8 +404,8 @@ Wolcott Xplorer XSOAR Yacop -Yangshun yangshun +Yangshun yangshunz Zhou zoomable