Skip to content

Commit

Permalink
fix(website): remove infima default table styles
Browse files Browse the repository at this point in the history
  • Loading branch information
tkajtoch committed Oct 24, 2024
1 parent ea783c4 commit 9a2b5b2
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 1 deletion.
59 changes: 59 additions & 0 deletions .yarn/patches/infima-npm-0.2.0-alpha.44-145834fad0.patch
Original file line number Diff line number Diff line change
@@ -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.
*
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "[email protected]"
}
7 changes: 7 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 9a2b5b2

Please sign in to comment.