Repository navigation
Commit 90526f3
authored
fix(ui): stop composer mic hover shift and stray red hover (#125565)
* fix(ui): stop composer mic hover shift and stray red hover
The device-picker chevron collapsed to width 0 while idle and grew to
20px on hover, shoving the right-aligned mic button 20px left under
the cursor on every mouse-over. Detach the picker into its own
fixed-width ghost button beside the mic instead of morphing the mic's
shape into a split pill; hover only fades the picker's opacity, so the
reserved layout never shifts.
Also fixes the mic showing the send button's loud accent-red hover in
dark/openknot themes: those themes overrode .chat-send-btn:hover
directly, which outranked every variant's own hover rule (including
the intentional neutral mic hover and the stop button's danger hover).
Theme overrides now set a --chat-send-hover-background variable that
each variant's hover rule can still take precedence over.
* chore(scripts): register composer mic hover proof script
Missing package.json entry made the deadcode full-tree scan flag the
new capture script as an unused file, same as the existing
ui:proof:workboard sibling.1 parent 6611e40 commit 90526f3
4 files changed
Lines changed: 145 additions & 27 deletions
File tree
- scripts
- ui/src
- e2e
- styles/chat
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1988 | 1988 | | |
1989 | 1989 | | |
1990 | 1990 | | |
| 1991 | + | |
1991 | 1992 | | |
1992 | 1993 | | |
1993 | 1994 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
520 | | - | |
521 | | - | |
| 520 | + | |
| 521 | + | |
522 | 522 | | |
523 | 523 | | |
524 | 524 | | |
| |||
611 | 611 | | |
612 | 612 | | |
613 | 613 | | |
| 614 | + | |
| 615 | + | |
614 | 616 | | |
615 | 617 | | |
616 | | - | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
617 | 622 | | |
| 623 | + | |
| 624 | + | |
618 | 625 | | |
619 | 626 | | |
620 | | - | |
621 | | - | |
622 | | - | |
623 | 627 | | |
624 | 628 | | |
625 | 629 | | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
626 | 639 | | |
627 | 640 | | |
628 | 641 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3503 | 3503 | | |
3504 | 3504 | | |
3505 | 3505 | | |
| 3506 | + | |
| 3507 | + | |
| 3508 | + | |
| 3509 | + | |
3506 | 3510 | | |
3507 | | - | |
| 3511 | + | |
3508 | 3512 | | |
3509 | 3513 | | |
3510 | 3514 | | |
3511 | | - | |
3512 | | - | |
| 3515 | + | |
| 3516 | + | |
3513 | 3517 | | |
3514 | 3518 | | |
3515 | | - | |
3516 | | - | |
| 3519 | + | |
| 3520 | + | |
3517 | 3521 | | |
3518 | 3522 | | |
3519 | 3523 | | |
| |||
3561 | 3565 | | |
3562 | 3566 | | |
3563 | 3567 | | |
| 3568 | + | |
3564 | 3569 | | |
3565 | 3570 | | |
3566 | 3571 | | |
3567 | 3572 | | |
3568 | | - | |
3569 | 3573 | | |
3570 | 3574 | | |
3571 | 3575 | | |
| |||
3576 | 3580 | | |
3577 | 3581 | | |
3578 | 3582 | | |
3579 | | - | |
3580 | | - | |
3581 | | - | |
3582 | | - | |
| 3583 | + | |
| 3584 | + | |
| 3585 | + | |
| 3586 | + | |
3583 | 3587 | | |
3584 | 3588 | | |
3585 | | - | |
3586 | | - | |
3587 | | - | |
3588 | | - | |
3589 | | - | |
| 3589 | + | |
| 3590 | + | |
| 3591 | + | |
3590 | 3592 | | |
3591 | 3593 | | |
3592 | 3594 | | |
3593 | 3595 | | |
3594 | 3596 | | |
3595 | | - | |
3596 | | - | |
3597 | 3597 | | |
3598 | 3598 | | |
3599 | 3599 | | |
| |||
3602 | 3602 | | |
3603 | 3603 | | |
3604 | 3604 | | |
3605 | | - | |
3606 | | - | |
| 3605 | + | |
| 3606 | + | |
3607 | 3607 | | |
3608 | 3608 | | |
3609 | | - | |
3610 | | - | |
| 3609 | + | |
3611 | 3610 | | |
3612 | 3611 | | |
3613 | 3612 | | |
| |||
0 commit comments