Skip to content

Commit f742bf6

Browse files
committed
copy btn color correction
1 parent cbe88b9 commit f742bf6

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

web-app/src/components/sender/SharingActiveCard.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export function SharingActiveCard({
5151
// Auto-close "You are broadcasting" notification after 1 seconds
5252
setTimeout(() => {
5353
toastManager.close(toastId)
54-
}, 1500)
54+
}, 5000)
5555
}
5656
}
5757
}
@@ -255,7 +255,7 @@ export function TicketDisplay({
255255
)}
256256
</div>
257257
<InputGroup>
258-
<InputGroupInput type="text" value={ticket} readOnly />
258+
<InputGroupInput type="text" value={ticket} className="overflow-ellipsis" readOnly />
259259
<InputGroupAddon align="inline-end">
260260
<Button
261261
type="button"
@@ -264,7 +264,7 @@ export function TicketDisplay({
264264
style={{
265265
backgroundColor: copySuccess
266266
? 'var(--app-primary)'
267-
: 'var(--accent)',
267+
: 'var(--color-foreground)',
268268
border: '1px solid var(--border)',
269269
}}
270270
title={t('common:sender.copyToClipboard')}

web-app/src/index.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,12 +210,10 @@
210210
:root {
211211
--radius: 0.625rem;
212212
--font-size-base: 15px;
213-
214213
--app-primary: rgba(37, 211, 101, 0.687);
215214
--app-accent-light: rgb(45, 120, 220);
216215
--app-accent: rgb(54 54 54);
217216
--app-destructive: rgb(144, 60, 60);
218-
219217
--body-bg: var(--background);
220218
}
221219
}

0 commit comments

Comments
 (0)