Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Commit

Permalink
updated styling of background and code snippets on dark (color theme)…
Browse files Browse the repository at this point in the history
… and tab spacing for both colors (#136)

* updated styling

* removed comments
  • Loading branch information
moskalyk authored Nov 21, 2023
1 parent 07b5a68 commit 8173e43
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/04-indexer/03-fetch-tokens.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ const nftBalances = await indexer.getTokenBalances({
accountAddress: accountAddress,
includeMetadata: true
})

console.log('collection of items:', nftBalances)
```

Expand Down
2 changes: 1 addition & 1 deletion docs/04-indexer/04-transaction-history.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The response includes decoded transaction details for easy consumption / renderi
* Content-Type: application/json
* Body (in JSON):
* `filter` (object)
* `accountAddress` (string) -- the wallet account address
* `accountAddress` (string) -- the wallet account address
* `contractAddress` (string) -- optionally specify a contract address to filter
* `accountAddresses` (string array) -- optionally specify a list of wallet account addresses
* `contractAddresses` (string array) -- optionally specify a list of contract address
Expand Down
11 changes: 10 additions & 1 deletion src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ html {
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
}

[data-theme='light'] {
--ifm-background-color: #f7f5f1 !important;
}

/* fix sidebar from being underneath top navbar */
.theme-doc-sidebar-menu.menu__list {
margin-top: 10vh;
Expand All @@ -118,5 +122,10 @@ html {
}
}

[data-theme='dark'] .markdown code {
background: #1f1f1f !important;
}


.markdown {
tab-size: 4 !important;
}

0 comments on commit 8173e43

Please sign in to comment.