Skip to content

Commit d9044fb

Browse files
authored
Merge branch 'main' into feat/srp-flow-review
2 parents 4344f8c + 502b1c0 commit d9044fb

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

ui/components/app/snaps/snap-ui-account-selector/index.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
.multichain-account-list-item {
33
padding: 0;
44

5+
&:hover {
6+
background-color: var(--transparent) !important;
7+
}
8+
59
& > div:first-child {
610
align-items: center;
711
margin-right: 0;
@@ -13,6 +17,10 @@
1317
.multichain-account-list-item {
1418
padding: 0;
1519

20+
&:hover {
21+
background-color: var(--transparent) !important;
22+
}
23+
1624
& > div:first-child {
1725
align-items: center;
1826
margin-right: 0;

ui/components/app/snaps/snap-ui-account-selector/snap-ui-account-selector.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,10 @@ export const SnapUIAccountSelector: FunctionComponent<
113113
onSelect={handleSelect}
114114
disabled={disabled || accounts.length === 0}
115115
style={{
116-
maxHeight: '82px',
116+
maxHeight: '89px',
117117
}}
118118
itemStyle={{
119-
maxHeight: '82px',
119+
maxHeight: '89px',
120120
}}
121121
/>
122122
);

ui/components/app/snaps/snap-ui-renderer/components/__snapshots__/account-selector.test.ts.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ exports[`SnapUIAccountSelector renders an account selector 1`] = `
1818
>
1919
<button
2020
class="mm-box mm-text mm-button-base mm-button-base--size-md mm-button-base--ellipsis snap-ui-renderer__selector snap-ui-renderer__account-selector mm-text--body-md-medium mm-text--ellipsis mm-box--padding-0 mm-box--padding-top-2 mm-box--padding-right-4 mm-box--padding-bottom-2 mm-box--padding-left-4 mm-box--display-inline-flex mm-box--gap-2 mm-box--justify-content-center mm-box--align-items-center mm-box--color-text-default mm-box--background-color-background-default mm-box--rounded-lg"
21-
style="justify-content: inherit; text-align: inherit; height: inherit; min-height: 48px; max-height: 82px;"
21+
style="justify-content: inherit; text-align: inherit; height: inherit; min-height: 48px; max-height: 89px;"
2222
>
2323
<span
2424
class="mm-box mm-text mm-text--inherit mm-text--ellipsis mm-box--display-flex mm-box--width-full mm-box--color-text-default"
@@ -325,7 +325,7 @@ exports[`SnapUIAccountSelector renders inside a field 1`] = `
325325
</label>
326326
<button
327327
class="mm-box mm-text mm-button-base mm-button-base--size-md mm-button-base--ellipsis snap-ui-renderer__selector snap-ui-renderer__account-selector mm-text--body-md-medium mm-text--ellipsis mm-box--padding-0 mm-box--padding-top-2 mm-box--padding-right-4 mm-box--padding-bottom-2 mm-box--padding-left-4 mm-box--display-inline-flex mm-box--gap-2 mm-box--justify-content-center mm-box--align-items-center mm-box--color-text-default mm-box--background-color-background-default mm-box--rounded-lg"
328-
style="justify-content: inherit; text-align: inherit; height: inherit; min-height: 48px; max-height: 82px;"
328+
style="justify-content: inherit; text-align: inherit; height: inherit; min-height: 48px; max-height: 89px;"
329329
>
330330
<span
331331
class="mm-box mm-text mm-text--inherit mm-text--ellipsis mm-box--display-flex mm-box--width-full mm-box--color-text-default"

0 commit comments

Comments
 (0)