Skip to content

Commit 7e0a09b

Browse files
committed
move to components list and tweak css
1 parent 64ab016 commit 7e0a09b

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

src/components/RPCTable/RPCTable.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,15 @@ table.__ethereum-rpc-table > tbody tr:last-child td:last-child {
1212

1313
table.__ethereum-rpc-table > thead > tr > th {
1414
border-bottom-width: 0;
15+
text-align: center;
1516
}
1617

1718
table.__ethereum-rpc-table > caption > span {
1819
font-size: 1rem;
1920
font-weight: bold;
2021
}
22+
23+
.__ethereum-rpc-table > tbody > tr > td:nth-child(1) {
24+
text-align: left;
25+
padding-left: 16px;
26+
}

src/content/docs/en/article-components.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import priceAggr from "../../../assets/images/contract-devs/price-aggr.png"
1313
import ToggleElement from "../../../components/ToggleElement.astro"
1414
import Aside from "../../../components/Aside.astro"
1515
import MarkmapView from "../../../components/MarkmapView/index.astro"
16+
import RPCTable from "../../../components/RPCTable/RPCTable.astro"
1617

1718
This is body text right under the article title. It typically is just paragraph text that's pretty straightforward. Then there's **bold text**, and _italic text_, and **_bold-italic text_**, and `inline-code` and **`bold inline code`** and even _`italic inline code`_ and **_`bold italic inline code`_**. And of course don't forget [links](#), and [**bold links**](#), and [_italic links_](#), and [**_bold-italic links_**](#).
1819

@@ -162,3 +163,7 @@ stateDiagram
162163
ExecutionState --> ConstraintBuilder
163164
step_context --> ConstraintBuilder
164165
```
166+
167+
### RPC Table
168+
169+
<RPCTable />

src/content/docs/en/user-guide/setup.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ excerpt: "You need to have a wallet to interact with the Scroll Testnet. You can
99
---
1010

1111
import Aside from "../../../../components/Aside.astro"
12-
import RPCTable from "../../../../components/RPCTable/RPCTable.astro"
1312

1413
## Wallet
1514

@@ -32,8 +31,6 @@ The **Add to wallet** links may not be compatible with every wallet. If you are
3231
| Currency Symbol | ETH | ETH |
3332
| Block Explorer URL | [https://sepolia.scrollscan.com](https://sepolia.scrollscan.com) | [https://sepolia.etherscan.io](https://sepolia.etherscan.io) |
3433

35-
<RPCTable />
36-
3734
<Aside type="tip" title="Additional Block Explorers">
3835
For looking into activity on Layer 1, use Etherscan's [Sepolia Testnet Explorer](https://sepolia.etherscan.io).
3936

0 commit comments

Comments
 (0)