Commit d0a70fb
authored
Make the text copy button use IconButton (#34224)
* Make the text copy button use IconButton
This obviously should be a shared component, but design is looking at
what it will actually look like long term, so until then, let's at
least make it use compound's IconButton so it gets the hover background
state, and sort out the padding & margins.
Requires element-hq/compound-web#528
* snapshots & add aria-label
* more snapshots
* Remove unnecessary width & height
update other screenshots with expected changes
* One more screenshot
* This really shouldn't be necessary: see what test fails
* Fix test to look in screen for the labels
Because the labels from the tooltip don't go in the container, they
get added to the dom at the top level in a floaty bit.
* update snapshots again
* Fix button size
and also add comment to the other place where we fudge the padding
* Update snapshots
* Align to center
* Screenshots1 parent 67fc33a commit d0a70fb
25 files changed
Lines changed: 551 additions & 404 deletions
File tree
- apps/web
- playwright/snapshots
- devtools/devtools.spec.ts
- invite/invite-dialog.spec.ts
- right-panel/right-panel.spec.ts
- settings/account-user-settings-tab.spec.ts
- timeline/timeline.spec.ts
- user-view/user-view.spec.ts
- res/css/views
- elements
- right_panel
- rooms
- src/components/views/elements
- test/unit-tests/components/views
- beacon/__snapshots__
- dialogs
- __snapshots__
- devtools/__snapshots__
- messages/__snapshots__
- right_panel
- __snapshots__
- user_info/__snapshots__
- settings/tabs
- room/__snapshots__
- user/__snapshots__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 28 | | |
34 | 29 | | |
35 | 30 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 31 | + | |
40 | 32 | | |
41 | 33 | | |
42 | | - | |
43 | | - | |
44 | 34 | | |
45 | 35 | | |
46 | 36 | | |
| |||
0 commit comments