Merge pull request 'Additional Zap amounts + larger text input for chat' (#83) from TheGrinder/zapstream:main into main

Reviewed-on: Kieran/stream#83
Reviewed-by: Kieran <kieran@noreply.localhost>
This commit is contained in:
Kieran 2023-08-22 21:09:36 +00:00
commit f7517d7e1a
3 changed files with 4 additions and 4 deletions

View File

@ -52,7 +52,7 @@
} }
.live-chat > .write-message > div:nth-child(1) { .live-chat > .write-message > div:nth-child(1) {
height: 32px; height: 40px;
flex-grow: 1; flex-grow: 1;
} }

View File

@ -6,7 +6,7 @@
.send-zap .amounts { .send-zap .amounts {
display: grid; display: grid;
grid-template-columns: repeat(4, 1fr); grid-template-columns: repeat(6, 1fr);
justify-content: space-evenly; justify-content: space-evenly;
gap: 8px; gap: 8px;
} }

View File

@ -43,10 +43,10 @@ export function SendZaps({
targetName, targetName,
onFinish, onFinish,
}: SendZapsProps) { }: SendZapsProps) {
const UsdRate = 30_000; const UsdRate = 28_000;
const satsAmounts = [ const satsAmounts = [
100, 1_000, 5_000, 10_000, 50_000, 100_000, 500_000, 1_000_000, 21, 69, 121, 221, 420, 1_000, 2_100, 5_000, 6_666, 10_000, 21_000, 42_000, 69_000, 100_000, 210_000, 500_000, 1_000_000,
]; ];
const usdAmounts = [0.05, 0.5, 2, 5, 10, 50, 100, 200]; const usdAmounts = [0.05, 0.5, 2, 5, 10, 50, 100, 200];
const [isFiat, setIsFiat] = useState(false); const [isFiat, setIsFiat] = useState(false);