Skip to content

Commit 05381ba

Browse files
AndyMBridgesjpborromeiAslanGMjaviercanossinibaptistebriel
authored
Feb 27 (#1898)
* fix(Cards): max-width container * fix(TOC): copy update * feat(Container):unified containers paddings * feat(MD): margins * refactor: Update DocSearch styles and import in custom.scss * feat(CustomCSS): updates temp styles * refactor: Update DocSearch styles * refactor(DocCardList): update item styles and hover behavior * refactor(DocCardList): remove emoji symbols with css * refactor(DocCardList): improve button icon handling and update styles * feat(CodeBlock): styles update * improve(Markdown): bullets styles * refactor: update --ifm-color-secondary-lighter color in custom.scss * refactor: Update clear and reset icon fill colors * refactor(ParserOpenRPC): update request customization modal box * fix(Markdown): updates margins * feat(Header): styles update * feat(Footer): styles * refactor: add styles for react-tippy tooltips * refactor(ParserOpenRPC): update RequestBox styles * improve(Footer): update styles * fix(Cards): re-enabled the icon/emoji * feat(Tags): update styles * feat(Docs): added swizzled comp readme - wip * feat(SearchResults): styles wip * feat(SearchResults): styles * fix(Tags): changed darkmode border * feat(MD): updated link colors * feat(TagsListing): styles * feat(Links): updated link styles * improve(Navbar): mobile styles * feat(Code): added padding to md code * feat(CodeTabs): styles * fix(Markdown): ul li bullet color * feat(OpenRPC): styles - WIP * refactor(TagsListing): rm code in custom.scss * feat(RPCPages): styling improvements * fix(TableOfContents): margin fix * feat(DocCards): added padding top * fix(DocSearch): margins * feat(Tabs): colors * feat(Tags): font styles + margins * fix(TableOfContents): margin * feat(Layout): added padding between columns * improve(RCPPages): updates * improve(RPCPages): modal updates * refactor(Tabs): update * improve(Markdown): bullet size * feat(TagListing): styles * fix(Markdown): li marker line-height * improve(SearchResults): minor improvements * feat(MarkdownCards): styles - wip * fix(Terminal): removed warnings * fix(Tags): margins * feat(RCP): styles * feat(MarkdownCards): MD cards styles * improve(RPCPages): codeBlock header * feat(Markdown): table styles * Update _markdown.scss * feat(MarkdownCards): styles improvements * Update _markdown.scss * refactor(RPCPages): update modal styles * refactor(EditPage): styles update * improve(Admonition): margins update * refactor(Footer): last updated styles * fix(Test): removed test code * feat(RCP): updates layout max-width * feat(RCPPages): show child button styles * fix(Sidebar): menu alignment * improve(RPCPages): collapse components styles * Update styles.module.scss * feat(NotFound): added page * improve(RPCPAges): large title fix * feat(Mobile): margin to unified * fix(Markdown): ol ol nested + codeBlock margins * fix(RPC): extra padding * Update styles.module.scss * feat(RPC): styles * fix(Admonition): code styles * (fix) tweaked font-size of required label * feat(Markdown): details styles * fix(RPCPages): styles adjustments * feat(RPCPages): details styles * refactor(Markdown): cards clip path * feat(JSON-RPC-API): extended styles from markdown * fix(Markdown): added text-decoration support for safari + deleted unused code * fix(QA): mobile * fix(Admonition): alert iOS * fix(Sidebar):mobile minor improvement * improve(Markdown): update code font-family * improve(Markdown): ul/ol improvements * feat(swizzling-docs.md): enhance the documentation with implementation details and styling changes * feat(docusaurus-customization.md): add comprehensive guide for implementing and customizing SCSS and components in Docusaurus * fix(RPC-Pages): temporary fix for the sidebar * fix(Scroll-fix): removed console logs * (fix) list <ul> styling for bullet points * (fix) updated sidebar styles * (fix) reduced size of margin on admonition * (fix) use same margin as admonition for cards list * (fix) reduce the top and bottom padding of the code blocks * (fix) update warning/caution admonition color to the orange color * (fix) table of contents styling and responsive * (fix) sidebar styles * (fix) updated default link hover color * (fix) updated cards style * (fix) reduce the height of the cards displayed on the autogenerated category pages * (fix) reduce the space above page titles that have tags * (fix) flask admonition * (fix) tweak the font sizes down * (fix) tweak font-sizes * (fix) Caution/Warning admonition dark mode color * (fix) Flask admonition/tag dark mode color from light green to dark purple * (fix) change the admonition titles to base font * (fix) Flask tag on the Snaps homepage cards * remove yarn.lock * (fix) avoid useState to call window, instead useEffect * (fix) check for window typeof for initial useState value * (fix) container className selector * (fix) updated selector for main container className * (fix) large desktop font-size * (fix) typescale of paragraph * (fix) added padding-bottom on menu to avoid overlap with cookie * (fix) typescale on doc card list * Initial sync of content updates * refactor(Tabs): fix overflow issue in styles * refactor(custom.scss): update styles for ordered lists * refactor(markdown.scss): update styles for strong and emphasis elements * refactor(AdmonitionType): update code font size * refactor(markdown-cards.scss): update styles for markdown cards * refactor(markdown.scss): update styles for ordered lists * refactor(AdmonitionType): update code font size * refactor(markdown-cards.scss): update styles for markdown cards * fix(CodeTabs): removed margin bottom between tabs and code block * Sync changes 9/16-9/20 * Sync 23.09 with main branch (#21) * merge history issue * merge history issue * Fix * Fix * update * feat: style faucet * feat(docs): added style fixes for parser * feat(docs): added style fixes for popup * feat(docs): added run eth btn * feat(docs): added minor style btn fix * feat(docs): style btn aligned * update faucet styles * update faucet styles * update faucet accordion * update header * remove commented code * chore: replace Infura copy * update homepage to 2x2 grid layout * migrate latest faucet, auth, openRPC changes * merge latest nav changes * fix faucet rendering logic * update padding on faucet * fix padding * fix padding * convert to ts components * fix ts errors * cleanup * cleanup * fix mfa flow for faucet * Decrease sidebar padding. Signed-off-by: bgravenorst <[email protected]> * Fix admonition padding. Signed-off-by: bgravenorst <[email protected]> * update github link * update faucet table styles & developer dashboard footer link * Add additional padding. Signed-off-by: bgravenorst <[email protected]> * update styles for faucet maintenance window * adjustments * Update heading styles * Adjust margin for paragraph text. Signed-off-by: bgravenorst <[email protected]> * Update TOC and footer styles * adjust layout responsiveness * Add bottom margin. Signed-off-by: bgravenorst <[email protected]> * Update padding. Signed-off-by: bgravenorst <[email protected]> * Update dropdown and navbar colour. Signed-off-by: bgravenorst <[email protected]> * Update padding. Signed-off-by: bgravenorst <[email protected]> * Update code metadata styles and remove widget * minor fix * Address reviewer feedback. Signed-off-by: bgravenorst <[email protected]> * Update home page and cards styles * fix tabs css * Fix images, admonitions, etc. * update fox * update metadata * update fox for loading spinner * Update hero fonts * adjust font size * adjust font size * increase font size * remove fixed font-size * update metamask share card * docs cleanup and favicon update --------- Signed-off-by: bgravenorst <[email protected]> Co-authored-by: JP Borromei <[email protected]> Co-authored-by: Aslan A <[email protected]> Co-authored-by: Javier Canossini <[email protected]> Co-authored-by: Baptiste Briel <[email protected]> Co-authored-by: Alexandra Tran <[email protected]> Co-authored-by: Alexandra Carrillo <[email protected]> Co-authored-by: Vlad Lobachov <[email protected]> Co-authored-by: Vlad Lo. <vlad.lobachov-ext@> Co-authored-by: TrofimovAnton85 <[email protected]> Co-authored-by: ae_atrofimov <[email protected]> Co-authored-by: bgravenorst <[email protected]> Co-authored-by: Byron Gravenorst <[email protected]>
1 parent 89ef630 commit 05381ba

File tree

461 files changed

+12659
-5097
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

461 files changed

+12659
-5097
lines changed

.prettierrc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"arrowParens": "avoid",
3+
"bracketSpacing": true,
4+
"bracketSameLine": true,
5+
"useTabs": false,
6+
"semi": false,
7+
"singleQuote": true,
8+
"tabWidth": 2,
9+
"trailingComma": "es5",
10+
"proseWrap": "never",
11+
"printWidth": 100,
12+
"htmlWhitespaceSensitivity": "css",
13+
"vueIndentScriptAndStyle": true
14+
}

.vscode/settings.json

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,30 @@
11
{
22
"eslint.format.enable": true,
33
"editor.codeActionsOnSave": {
4-
"source.fixAll.eslint": "explicit"
4+
"source.fixAll.eslint": "explicit",
5+
"source.fixAll.stylelint": "explicit",
6+
"source.organizeImports": "never"
57
},
68
"eslint.codeActionsOnSave.mode": "all",
79
"editor.tabSize": 2,
810
"typescript.tsdk": "node_modules/typescript/lib",
9-
"typescript.preferences.importModuleSpecifier": "non-relative"
11+
"typescript.preferences.importModuleSpecifier": "non-relative",
12+
"editor.formatOnSave": true,
13+
"editor.defaultFormatter": "esbenp.prettier-vscode",
14+
"[scss]": {
15+
"editor.defaultFormatter": "esbenp.prettier-vscode"
16+
},
17+
"javascript.format.insertSpaceAfterConstructor": false,
18+
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces": false,
19+
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": false,
20+
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces": false,
21+
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": false,
22+
"javascript.format.insertSpaceBeforeFunctionParenthesis": false,
23+
"typescript.format.insertSpaceAfterConstructor": false,
24+
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces": false,
25+
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": false,
26+
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces": false,
27+
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": false,
28+
"typescript.format.insertSpaceBeforeFunctionParenthesis": false,
29+
"stylelint.validate": ["css", "scss", "sass"]
1030
}

developer-tools/dashboard/how-to/network-status.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ scheduled maintenance notices. You can also subscribe to status updates via emai
1010

1111
You can also select the **Status** link on the left of the MetaMask Developer dashboard to view the status page.
1212

13-
<div class="left-align-container">
14-
<div class="img-medium">
15-
<img
16-
src={require("../../images/status-page.png").default}
17-
/>
18-
</div>
19-
</div>
13+
<p align="center">
14+
<img src={require("../../images/status-page.png").default} />
15+
</p>

developer-tools/dashboard/how-to/two-factor-authentication.md

Lines changed: 14 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -14,41 +14,26 @@ identity before you can access your accounts.
1414
To enable 2FA authentication on your account, on the dashboard go to **Settings** -> **Account**, and
1515
select **Enable**.
1616

17-
<div class="left-align-container">
18-
<div class="img-large">
19-
<img
20-
src={require("../../images/enable2fa.png").default}
21-
/>
22-
</div>
23-
</div>
17+
<img src={require("../../images/enable2fa.png").default} />
2418

2519
Scan the QR code with your authenticator, and enter the initial six-digit token. Select **Verify** to proceed.
2620

27-
<div class="left-align-container">
28-
<div class="img-medium">
29-
<img
30-
src={require("../../images/enter_token.png").default}
31-
/>
32-
</div>
33-
</div>
21+
<p align="center">
22+
<img src={require("../../images/enter_token.png").default} />
23+
</p>
3424

35-
:::warning
36-
37-
**Save your backup code to a secure location**
25+
:::warning Important
3826

27+
**Save your backup code to a secure location.**
3928
If you ever lose access to your device, you can use this code to verify your identity.
4029

4130
:::
4231

4332
Select **Continue** to finish the process.
4433

45-
<div class="left-align-container">
46-
<div class="img-medium">
47-
<img
48-
src={require("../../images/backup_code.png").default}
49-
/>
50-
</div>
51-
</div>
34+
<p align="center">
35+
<img src={require("../../images/backup_code.png").default} />
36+
</p>
5237

5338
:::info
5439

@@ -63,35 +48,24 @@ Next time you log in to Infura, you'll be asked for your 2FA token in addition t
6348

6449
To disable 2FA on your account, on the dashboard go to **Settings** -> **Account**, and select **Disable 2FA**.
6550

66-
<div class="left-align-container">
67-
<div class="img-medium">
68-
<img
69-
src={require("../../images/disable2fa.png").default}
70-
/>
71-
</div>
72-
</div>
51+
<img src={require("../../images/disable2fa.png").default} />
7352

7453
## Lost your 2FA device?
7554

7655
If you lose your 2FA device, you can still log in using your backup code. Alternatively, you can recover your account by raising a support request with Infura.
7756

78-
:::warning
57+
:::warning Important
7958

8059
**Keep your backup code safe!**
81-
8260
If you raise a support request to recover your account, Infura support must confirm that you're the owner of the account.
8361

8462
:::
8563

8664
To log in without a 2FA device, log in to Infura with your username and password, and when confronted with the 2FA screen, select **Backup Code.** If you can't find it, your only option is to select **Recover your Account** and open a support case.
8765

88-
<div class="left-align-container">
89-
<div class="img-small">
90-
<img
91-
src={require("../../images/login2FA.png").default}
92-
/>
93-
</div>
94-
</div>
66+
<p align="center">
67+
<img src={require("../../images/login2FA.png").default} />
68+
</p>
9569

9670
:::info
9771

0 commit comments

Comments
 (0)