fix(ui): fix alignment and sizing of the update pending icon
github/actions/ci GitHub Actions CI finished: success
github/actions/ci GitHub Actions CI finished: success
This commit is contained in:
@@ -114,7 +114,10 @@ export function TitleBar() {
|
|||||||
up its focal point and the chip becomes a button that re-opens the prompt. */}
|
up its focal point and the chip becomes a button that re-opens the prompt. */}
|
||||||
<div className="flex items-center gap-2 pr-4 pl-3">
|
<div className="flex items-center gap-2 pr-4 pl-3">
|
||||||
{updatePending ? (
|
{updatePending ? (
|
||||||
<div style={{ WebkitAppRegion: 'no-drag' } as React.CSSProperties}>
|
<div
|
||||||
|
className="flex h-5 w-5 items-center justify-center"
|
||||||
|
style={{ WebkitAppRegion: 'no-drag' } as React.CSSProperties}
|
||||||
|
>
|
||||||
{/* Instant tooltip (delay 0) — this affordance should read immediately. */}
|
{/* Instant tooltip (delay 0) — this affordance should read immediately. */}
|
||||||
<Tooltip label={`Click to update — v${updateVersion}`} delay={0} align="start">
|
<Tooltip label={`Click to update — v${updateVersion}`} delay={0} align="start">
|
||||||
<button
|
<button
|
||||||
|
|||||||
Reference in New Issue
Block a user