Skip to content

Commit 23ea88a

Browse files
committed
Merge branch 'main' into 1875-snaps-analyze-cli
2 parents 08aaa6e + 4bdabfa commit 23ea88a

File tree

4 files changed

+17
-7
lines changed

4 files changed

+17
-7
lines changed

src/components/ParserOpenRPC/DetailsBox/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ export default function DetailsBox({
4848
{summary !== null && (
4949
<p
5050
style={{ marginBottom: '0.5rem' }}
51-
className={clsx('padding-bottom--md', styles.borderBottomLine)}>
51+
className={clsx('padding-bottom--md', styles.borderBottomLine, styles.methodSummary)}>
5252
<strong>Summary: </strong>
5353
<span className={styles.summaryText}>
5454
<MDContent content={summary} />
5555
</span>
5656
</p>
5757
)}
5858
{description !== null && (
59-
<div className="padding-top--md">
59+
<div className={clsx("padding-top--md", styles.methodDescription)}>
6060
<MDContent content={description} />
6161
</div>
6262
)}
@@ -68,7 +68,7 @@ export default function DetailsBox({
6868
</Heading>
6969
<div className={styles.paramContainer}>
7070
{params.length === 0 ? (
71-
<div className="padding-vert--md">This method doesn't accept any parameters.</div>
71+
<div className={clsx("padding-vert--md", styles.noParamsDescription)}>This method doesn't accept any parameters.</div>
7272
) : (
7373
params && renderParamSchemas(params, components)
7474
)}

src/components/ParserOpenRPC/DetailsBox/styles.module.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
.enumWrapper {
7474
border: 1px solid var(--general-gray-light);
7575
margin-bottom: 2rem;
76+
font-size: 1.4rem;
7677
}
7778

7879
.enumItem {
@@ -139,6 +140,14 @@
139140
}
140141
}
141142

143+
.methodSummary {
144+
font-style: italic;
145+
}
146+
147+
.methodDescription, .noParamsDescription {
148+
font-size: 1.6rem;
149+
}
150+
142151
html[data-theme='dark'] {
143152
.paramWrapper,
144153
.borderWrapper,

src/components/ParserOpenRPC/ModalDrawer/styles.module.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
font-size: 1.8rem;
5757
line-height: 1;
5858
font-weight: 500;
59+
font-family: var(--ifm-font-family-base);
5960
}
6061

6162
.modalTitleContainer {

src/llms.txt renamed to static/llms.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# This file is intended for use by large language models (LLMs).
2+
# It provides information about the content and structure of this website to facilitate
3+
# better indexing, summarization, and understanding by LLMs.
4+
15
# Home | MetaMask developer documentation
26

37
## Developer-tools
@@ -23,10 +27,6 @@
2327
- [Set up two-factor authentication | MetaMask developer documentation](https://docs.metamask.io/developer-tools/dashboard/how-to/two-factor-authentication/): Set up two-factor authentication
2428
- [Upgrade your plan | MetaMask developer documentation](https://docs.metamask.io/developer-tools/dashboard/how-to/upgrade-your-plan/): Upgrade your Infura plan.
2529

26-
## Search
27-
28-
- [Search the documentation | MetaMask developer documentation](https://docs.metamask.io/search/): undefined
29-
3030
## Wallet API
3131

3232
- [MetaMask developer documentation](https://docs.metamask.io/wallet/reference/json-rpc-methods/eth_accounts/): undefined

0 commit comments

Comments
 (0)