diff --git a/src/components/profile/profileForm.scss b/src/components/profile/profileForm.scss
index cae6aad..bccaf50 100644
--- a/src/components/profile/profileForm.scss
+++ b/src/components/profile/profileForm.scss
@@ -3,31 +3,38 @@
.contentWithBackButton {
position: relative;
- width: 400px;
+ max-width: 400px;
margin: 0 auto;
}
.backButton {
- composes: arrow from 'components/ui/icons.scss';
-
position: absolute;
left: -60px;
top: 15px;
width: 25px;
height: 25px;
padding: 15px;
-
- transform: rotate(90deg);
- transition: .3s;
+ font-size: 25px;
color: #ccc;
- font-size: 25px;
+
+ transition: .3s;
&:hover {
color: #9a9a9a;
}
}
+.backIcon {
+ composes: arrowLeft from 'components/ui/icons.scss';
+
+ position: relative;
+}
+
+.backText {
+ display: none;
+}
+
.form {
background: #fff;
overflow: hidden; // disable margin collapsing
@@ -75,3 +82,29 @@
line-height: 1.5;
margin-top: 25px;
}
+
+@media (max-width: 525px) {
+ .contentWithBackButton .title {
+ padding-top: 23px;
+ }
+
+ .backButton {
+ top: 29px;
+ left: 27px;
+ padding: 0;
+ margin: 0;
+ width: auto;
+ height: auto;
+ z-index: 1;
+
+ font-size: 14px;
+ }
+
+ .backIcon {
+ bottom: 1px;
+ }
+
+ .backText {
+ display: inline;
+ }
+}
diff --git a/src/components/ui/icons.scss b/src/components/ui/icons.scss
index 611ba69..3e9f9c0 100644
--- a/src/components/ui/icons.scss
+++ b/src/components/ui/icons.scss
@@ -1,20 +1,24 @@
@import '~icons.font.json';
-.arrowLeft {
- composes: arrow;
-
- display: inline-block;
- transform: rotate(90deg);
-
- font-size: 24px;
+// По умолчанию стрелка смотрит вниз, это просто алиас
+.arrowBottom {
+ @extend .arrow;
}
.arrowTop {
- composes: arrow;
+ @extend .arrow;
transform: rotate(180deg);
}
-.arrowBottom {
- composes: arrow;
+.arrowRight {
+ @extend .arrow;
+
+ transform: rotate(270deg);
+}
+
+.arrowLeft {
+ @extend .arrow;
+
+ transform: rotate(90deg);
}
diff --git a/src/i18n/en.json b/src/i18n/en.json
index 3fbbf93..b2d00a9 100644
--- a/src/i18n/en.json
+++ b/src/i18n/en.json
@@ -76,6 +76,7 @@
"components.langMenu.siteLanguage": "Site language",
"components.profile.accountDescription": "Ely.by account allows you to get access to many Minecraft resources. Please, take care of your account safety. Use secure password and change it regularly.",
"components.profile.accountPreferencesTitle": "Ely.by account preferences",
+ "components.profile.back": "Back",
"components.profile.changeEmail.alreadyReceivedCode": "Already received code",
"components.profile.changeEmail.changeEmailButton": "Change E‑mail",
"components.profile.changeEmail.changeEmailDescription": "To change current account E‑mail you must first verify that you own the current address and then confirm the new one.",
diff --git a/src/i18n/ru.json b/src/i18n/ru.json
index 15e06e4..5db4948 100644
--- a/src/i18n/ru.json
+++ b/src/i18n/ru.json
@@ -76,6 +76,7 @@
"components.langMenu.siteLanguage": "Язык сайта",
"components.profile.accountDescription": "Благодаря аккаунту Ely.by вы можете получить доступ ко многим ресурсам, связанным с Minecraft. Берегите свой аккаунт, используйте надёжный пароль и регулярно его меняйте.",
"components.profile.accountPreferencesTitle": "Настройки аккаунта Ely.by",
+ "components.profile.back": "Назад",
"components.profile.changeEmail.alreadyReceivedCode": "Я уже получил код",
"components.profile.changeEmail.changeEmailButton": "Сменить E‑mail",
"components.profile.changeEmail.changeEmailDescription": "Для смены E‑mail адреса аккаунта сперва необходимо подтвердить владение текущим адресом, а за тем привязать новый.",