diff --git a/luckydiamond/src/assets/css/PagesStyles/profile.css b/luckydiamond/src/assets/css/PagesStyles/profile.css index 720bc68..3a12d9e 100644 --- a/luckydiamond/src/assets/css/PagesStyles/profile.css +++ b/luckydiamond/src/assets/css/PagesStyles/profile.css @@ -102,6 +102,7 @@ .types { display: flex; + justify-content: space-between; } .types-margin h3 { @@ -116,27 +117,34 @@ } .types-line { + flex-grow: 1; /* Add this line */ margin-top: 2.1%; background: #38383E; - width: 86%; height: 3px; } .payments__card { margin-top: 4.9%; display: flex; + align-items: center; /* Center vertically */ } .user-info { display: flex; + align-items: center; /* Center vertically */ + margin-right: 1em; /* Add margin for spacing */ } .user-name { display: flex; flex-direction: column; margin-left: 0.625em; + align-items: center; /* Center horizontally */ + margin-top: -0.5em; /* Adjust this value as needed */ } + + .user-name__text h3 { color: #FFF; font-weight: 700; @@ -152,7 +160,8 @@ } .data-info { - margin-left: 10%; + margin-left: auto; /* Push to the right */ + margin-right: auto; /* Push to the left */ } .data-info__text h3 { @@ -163,7 +172,7 @@ } .transaction-info { - margin-left: 7%; + margin-right: 1em; /* Add margin for spacing */ } .transaction-info__text h3 { diff --git a/luckydiamond/src/assets/icons-test/person-icon-profile-userinfo.png b/luckydiamond/src/assets/icons-test/person-icon-profile-userinfo.png index d85d000..93cc231 100644 Binary files a/luckydiamond/src/assets/icons-test/person-icon-profile-userinfo.png and b/luckydiamond/src/assets/icons-test/person-icon-profile-userinfo.png differ diff --git a/luckydiamond/src/pages/ProfilePage.vue b/luckydiamond/src/pages/ProfilePage.vue index 0e4c7da..12eeb2a 100644 --- a/luckydiamond/src/pages/ProfilePage.vue +++ b/luckydiamond/src/pages/ProfilePage.vue @@ -17,6 +17,7 @@
Пополнить Вывести + Вывести
@@ -35,7 +36,6 @@

{{ payment.name }}

-

{{ payment.comment }}

@@ -128,8 +128,7 @@ export default { }, claimDataDeposit(amount) { const historyPayments = { - name: 'TEST USER', - comment: 'test', + name: 'Пополнение', data: this.getCurrentFormattedDate(), amount: amount } @@ -138,8 +137,7 @@ export default { }, claimDataWithdraw(amount) { const historyPayments = { - name: 'TEST USER', - comment: 'test', + name: 'Вывод', data: this.getCurrentFormattedDate(), amount: -amount }