From 9a2b5b2274b6b786b3133c2cf5e68b6af43a4ad7 Mon Sep 17 00:00:00 2001 From: Tomasz Kajtoch Date: Thu, 24 Oct 2024 15:31:43 +0200 Subject: [PATCH] fix(website): remove infima default table styles --- ...infima-npm-0.2.0-alpha.44-145834fad0.patch | 59 +++++++++++++++++++ package.json | 3 +- yarn.lock | 7 +++ 3 files changed, 68 insertions(+), 1 deletion(-) create mode 100644 .yarn/patches/infima-npm-0.2.0-alpha.44-145834fad0.patch diff --git a/.yarn/patches/infima-npm-0.2.0-alpha.44-145834fad0.patch b/.yarn/patches/infima-npm-0.2.0-alpha.44-145834fad0.patch new file mode 100644 index 000000000000..fb01d259378c --- /dev/null +++ b/.yarn/patches/infima-npm-0.2.0-alpha.44-145834fad0.patch @@ -0,0 +1,59 @@ +diff --git a/dist/css/default/default.css b/dist/css/default/default.css +index 66dd808169d8697ca5de07ba260c9ee01338d855..df63274cf24a6176a66c05557aa14314b776178a 100644 +--- a/dist/css/default/default.css ++++ b/dist/css/default/default.css +@@ -1165,54 +1165,6 @@ ol ol ol { + list-style-type: lower-alpha; + } + +-/** +- * Copyright (c) Facebook, Inc. and its affiliates. +- * +- * This source code is licensed under the MIT license found in the +- * LICENSE file in the root directory of this source tree. +- */ +- +-table { +- border-collapse: collapse; +- display: block; +- margin-bottom: var(--ifm-spacing-vertical); +- overflow: auto; +-} +- +-table thead tr { +- border-bottom: 2px solid var(--ifm-table-border-color); +- } +- +-table thead { +- background-color: var(--ifm-table-stripe-background); +- } +- +-table tr { +- background-color: var(--ifm-table-background); +- border-top: var(--ifm-table-border-width) solid +- var(--ifm-table-border-color); +- } +- +-table tr:nth-child(2n) { +- background-color: var(--ifm-table-stripe-background); +- } +- +-table th, +- table td { +- border: var(--ifm-table-border-width) solid var(--ifm-table-border-color); +- padding: var(--ifm-table-cell-padding); +- } +- +-table th { +- background-color: var(--ifm-table-head-background); +- color: var(--ifm-table-head-color); +- font-weight: var(--ifm-table-head-font-weight); +- } +- +-table td { +- color: var(--ifm-table-cell-color); +- } +- + /** + * Copyright (c) Facebook, Inc. and its affiliates. + * diff --git a/package.json b/package.json index 5dbceed52ec5..aa2f6e7db25f 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,8 @@ "@babel/core": "^7.21.8", "jsdom": "24.1.0", "@types/jsdom@npm:^20.0.0": "patch:@types/jsdom@npm%3A20.0.1#~/.yarn/patches/@types-jsdom-npm-20.0.1-5bb899e006.patch", - "infima@npm:0.2.0-alpha.43": "patch:infima@npm%3A0.2.0-alpha.43#~/.yarn/patches/infima-npm-0.2.0-alpha.43-8d3b77b44d.patch" + "infima@npm:0.2.0-alpha.43": "patch:infima@npm%3A0.2.0-alpha.43#~/.yarn/patches/infima-npm-0.2.0-alpha.43-8d3b77b44d.patch", + "infima@npm:0.2.0-alpha.44": "patch:infima@npm%3A0.2.0-alpha.44#~/.yarn/patches/infima-npm-0.2.0-alpha.44-145834fad0.patch" }, "packageManager": "yarn@4.2.2" } diff --git a/yarn.lock b/yarn.lock index dc6a1e1ebe87..86a02c773643 100644 --- a/yarn.lock +++ b/yarn.lock @@ -22121,6 +22121,13 @@ __metadata: languageName: node linkType: hard +"infima@patch:infima@npm%3A0.2.0-alpha.44#~/.yarn/patches/infima-npm-0.2.0-alpha.44-145834fad0.patch": + version: 0.2.0-alpha.44 + resolution: "infima@patch:infima@npm%3A0.2.0-alpha.44#~/.yarn/patches/infima-npm-0.2.0-alpha.44-145834fad0.patch::version=0.2.0-alpha.44&hash=40a7f8" + checksum: 10c0/f7b8ea4e4142bcfa75c79b4b9fe73dee4b2ce89a019d834a72649e7325e265c7f64c301b7c5be4bf25fff1121f5b376de3708490b063c50f52d60d022d33a693 + languageName: node + linkType: hard + "inflight@npm:^1.0.4": version: 1.0.6 resolution: "inflight@npm:1.0.6"