global: small fixes

This commit is contained in:
nym21
2024-12-17 10:39:28 +01:00
parent e0a378cb81
commit 8fabbde13b
23 changed files with 179 additions and 170 deletions
+1
View File
@@ -1518,6 +1518,7 @@
"
>希望</small
>
希望.お金
</a>
<small style="display: block">
<strong>Bitcoin</strong> is
+4 -4
View File
@@ -1311,10 +1311,10 @@ function initFrameSelectors() {
function setAsideParent() {
const { clientWidth } = window.document.documentElement;
const { aside, body, main } = elements;
if (clientWidth >= consts.MEDIUM_WIDTH && aside.parentElement !== body) {
body.append(aside);
} else if (aside.parentElement !== main) {
main.append(aside);
if (clientWidth >= consts.MEDIUM_WIDTH) {
aside.parentElement !== body && body.append(aside);
} else {
aside.parentElement !== main && main.append(aside);
}
}
+19 -33
View File
@@ -1501,28 +1501,23 @@ function createPartialOptions(colors) {
name: "Market",
tree: [
{
name: "Price",
tree: [
scale,
name: "Dollars Per Bitcoin",
title: "Dollars Per Bitcoin",
description: "",
unit: "US Dollars",
},
{
scale,
name: "Satoshis Per Dollar",
title: "Satoshis Per Dollar",
description: "",
unit: "Satoshis",
bottom: [
{
scale,
name: "Dollars Per Bitcoin",
title: "Dollars Per Bitcoin",
description: "",
unit: "US Dollars",
},
{
scale,
name: "Sats Per Dollar",
title: "Satoshis Per Dollar",
description: "",
unit: "Satoshis",
bottom: [
{
title: "Sats",
datasetPath: `${scale}-to-sats-per-dollar`,
color: colors.bitcoin,
},
],
title: "Satoshis",
datasetPath: `${scale}-to-sats-per-dollar`,
color: colors.bitcoin,
},
],
},
@@ -5128,18 +5123,9 @@ function createPartialOptions(colors) {
url: () => window.location.href,
},
{
name: "Socials",
tree: [
{
name: "Bluesky",
url: () => "https://bsky.app/profile/kibo.money",
},
{
name: "Nostr",
url: () =>
"https://primal.net/p/npub1jagmm3x39lmwfnrtvxcs9ac7g300y3dusv9lgzhk2e4x5frpxlrqa73v44",
},
],
name: "Social",
url: () =>
"https://primal.net/p/npub1jagmm3x39lmwfnrtvxcs9ac7g300y3dusv9lgzhk2e4x5frpxlrqa73v44",
},
{
name: "Developers",