File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
components/visual/address-table Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 6060 @apply mvx :relative mvx:z- 1 mvx:cursor- pointer mvx:transition- all mvx:duration- 200 mvx:rounded- full;
6161 @apply mvx :ease-in-out mvx:mr- 2 mvx:min- w- 4 mvx:max- w- 4 mvx:h- 4;
6262 border : 1px solid var (--mvx-text-color-primary );
63+ appearance : none ;
64+ -webkit-appearance : none ;
6365
6466 & :after {
6567 @apply mvx :absolute mvx:left- 1/ 2 mvx:top- 1/ 2 mvx:rounded- full mvx:opacity- 0 mvx:transition- all mvx:duration- 200;
Original file line number Diff line number Diff line change @@ -126,14 +126,17 @@ export class AddressTable {
126126 < div class = { { 'address-table-list' : true , 'visible' : ! isPageChanging } } >
127127 { this . accountScreenData . accounts . map ( accountDerivation => (
128128 < div
129- data-testid = { `${ DataTestIdsEnum . addressTableItem } - ${ accountDerivation . address } ` }
129+ data-testid = { `${ DataTestIdsEnum . check } _ ${ accountDerivation . address } ` }
130130 onClick = { this . handleSelectAccount ( accountDerivation . index ) }
131131 class = { {
132132 'address-table-list-item' : true ,
133133 'checked' : accountDerivation . index === this . selectedIndex ,
134134 } }
135135 >
136- < div
136+ < input
137+ type = "radio"
138+ name = "address-table-selection"
139+ checked = { accountDerivation . index === this . selectedIndex }
137140 class = { {
138141 'address-table-list-item-checkbox' : true ,
139142 'checked' : accountDerivation . index === this . selectedIndex ,
Original file line number Diff line number Diff line change 11export enum DataTestIdsEnum {
22 accessWalletBtn = 'accessWalletBtn' ,
33 addressTableContainer = 'addressTableContainer' ,
4- addressTableItem = 'addressTableItem ' ,
4+ check = 'check ' ,
55 firstBtn = 'firstBtn' ,
66 lastBtn = 'lastBtn' ,
77 paginationItem = 'paginationItem' ,
You can’t perform that action at this time.
0 commit comments