2019-06-03 13:19:48 +01:00
|
|
|
// Copyright (C) 2019 Storj Labs, Inc.
|
|
|
|
// See LICENSE for copying information.
|
|
|
|
|
|
|
|
<template>
|
2021-07-13 13:50:51 +01:00
|
|
|
<div class="settings">
|
|
|
|
<h1 class="settings__title">Account Settings</h1>
|
2021-08-10 14:14:37 +01:00
|
|
|
<div class="settings__edit-profile">
|
2021-07-13 13:50:51 +01:00
|
|
|
<div class="settings__edit-profile__row">
|
|
|
|
<div class="settings__edit-profile__avatar">
|
2021-08-10 14:14:37 +01:00
|
|
|
<h1 class="settings__edit-profile__avatar__letter">{{ avatarLetter }}</h1>
|
2019-07-09 16:04:51 +01:00
|
|
|
</div>
|
2021-07-13 13:50:51 +01:00
|
|
|
<div class="settings__edit-profile__text">
|
2019-09-26 14:36:12 +01:00
|
|
|
<h2 class="profile-bold-text">Edit Profile</h2>
|
|
|
|
<h3 class="profile-regular-text">This information will be visible to all users</h3>
|
2019-07-09 16:04:51 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-10-23 13:26:39 +01:00
|
|
|
<EditIcon
|
|
|
|
class="edit-svg"
|
|
|
|
@click="toggleEditProfilePopup"
|
|
|
|
/>
|
2019-07-09 16:04:51 +01:00
|
|
|
</div>
|
2021-07-13 13:50:51 +01:00
|
|
|
<div class="settings__secondary-container">
|
|
|
|
<div class="settings__secondary-container__change-password">
|
|
|
|
<div class="settings__edit-profile__row">
|
2021-08-10 14:14:37 +01:00
|
|
|
<ChangePasswordIcon class="settings__secondary-container__img" />
|
2021-07-13 13:50:51 +01:00
|
|
|
<div class="settings__secondary-container__change-password__text-container">
|
2019-09-26 14:36:12 +01:00
|
|
|
<h2 class="profile-bold-text">Change Password</h2>
|
|
|
|
<h3 class="profile-regular-text">6 or more characters</h3>
|
2019-07-09 16:04:51 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-10-23 13:26:39 +01:00
|
|
|
<EditIcon
|
|
|
|
class="edit-svg"
|
|
|
|
@click="toggleChangePasswordPopup"
|
|
|
|
/>
|
2019-07-09 16:04:51 +01:00
|
|
|
</div>
|
2021-07-13 13:50:51 +01:00
|
|
|
<div class="settings__secondary-container__email-container">
|
|
|
|
<div class="settings__edit-profile__row">
|
2021-08-10 14:14:37 +01:00
|
|
|
<EmailIcon class="settings__secondary-container__img" />
|
2021-07-13 13:50:51 +01:00
|
|
|
<div class="settings__secondary-container__email-container__text-container">
|
2021-08-10 14:14:37 +01:00
|
|
|
<h2 class="profile-bold-text email">{{ user.email }}</h2>
|
2019-07-09 16:04:51 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-08-05 16:44:11 +01:00
|
|
|
<div class="settings__mfa">
|
2021-07-13 13:50:51 +01:00
|
|
|
<h2 class="profile-bold-text">Two-Factor Authentication</h2>
|
2021-07-20 12:34:40 +01:00
|
|
|
<p v-if="!user.isMFAEnabled" class="profile-regular-text">
|
2021-07-13 13:50:51 +01:00
|
|
|
To increase your account security, we strongly recommend enabling 2FA on your account.
|
|
|
|
</p>
|
2021-07-20 12:34:40 +01:00
|
|
|
<p v-else class="profile-regular-text">
|
|
|
|
2FA is enabled.
|
|
|
|
</p>
|
2021-07-14 15:38:53 +01:00
|
|
|
<div class="settings__mfa__buttons">
|
|
|
|
<VButton
|
2021-07-20 12:34:40 +01:00
|
|
|
v-if="!user.isMFAEnabled"
|
2021-07-14 15:38:53 +01:00
|
|
|
label="Enable 2FA"
|
|
|
|
width="173px"
|
|
|
|
height="44px"
|
2021-07-16 17:58:26 +01:00
|
|
|
:on-press="enableMFA"
|
|
|
|
:is-disabled="isLoading"
|
2021-07-14 15:38:53 +01:00
|
|
|
/>
|
2021-07-20 09:47:42 +01:00
|
|
|
<div v-else class="settings__mfa__buttons__row">
|
|
|
|
<VButton
|
|
|
|
class="margin-right"
|
|
|
|
label="Disable 2FA"
|
|
|
|
width="173px"
|
|
|
|
height="44px"
|
|
|
|
:on-press="toggleDisableMFAPopup"
|
|
|
|
is-deletion="true"
|
|
|
|
/>
|
|
|
|
<VButton
|
|
|
|
label="Regenerate Recovery Codes"
|
|
|
|
width="240px"
|
|
|
|
height="44px"
|
|
|
|
:on-press="generateNewMFARecoveryCodes"
|
|
|
|
is-blue-white="true"
|
|
|
|
:is-disabled="isLoading"
|
|
|
|
/>
|
|
|
|
</div>
|
2021-07-14 15:38:53 +01:00
|
|
|
</div>
|
2021-07-13 13:50:51 +01:00
|
|
|
</div>
|
2021-08-10 14:14:37 +01:00
|
|
|
<ChangePasswordPopup v-if="isChangePasswordPopupShown" />
|
|
|
|
<EditProfilePopup v-if="isEditProfilePopupShown" />
|
|
|
|
<EnableMFAPopup v-if="isEnableMFAPopup" :toggle-modal="toggleEnableMFAPopup" />
|
|
|
|
<DisableMFAPopup v-if="isDisableMFAPopup" :toggle-modal="toggleDisableMFAPopup" />
|
|
|
|
<MFARecoveryCodesPopup v-if="isMFACodesPopup" :toggle-modal="toggleMFACodesPopup" />
|
2019-07-09 16:04:51 +01:00
|
|
|
</div>
|
2019-06-03 13:19:48 +01:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
2019-09-09 11:33:39 +01:00
|
|
|
import { Component, Vue } from 'vue-property-decorator';
|
2019-06-03 13:19:48 +01:00
|
|
|
|
2019-09-09 11:33:39 +01:00
|
|
|
import ChangePasswordPopup from '@/components/account/ChangePasswordPopup.vue';
|
|
|
|
import DeleteAccountPopup from '@/components/account/DeleteAccountPopup.vue';
|
|
|
|
import EditProfilePopup from '@/components/account/EditProfilePopup.vue';
|
2021-07-14 15:38:53 +01:00
|
|
|
import DisableMFAPopup from '@/components/account/mfa/DisableMFAPopup.vue';
|
2021-07-13 13:50:51 +01:00
|
|
|
import EnableMFAPopup from '@/components/account/mfa/EnableMFAPopup.vue';
|
2021-07-20 09:47:42 +01:00
|
|
|
import MFARecoveryCodesPopup from '@/components/account/mfa/MFARecoveryCodesPopup.vue';
|
2019-09-26 14:36:12 +01:00
|
|
|
import VButton from '@/components/common/VButton.vue';
|
2019-06-03 13:19:48 +01:00
|
|
|
|
2019-10-23 13:26:39 +01:00
|
|
|
import ChangePasswordIcon from '@/../static/images/account/profile/changePassword.svg';
|
|
|
|
import EmailIcon from '@/../static/images/account/profile/email.svg';
|
|
|
|
import EditIcon from '@/../static/images/common/edit.svg';
|
|
|
|
|
2019-09-09 11:33:39 +01:00
|
|
|
import { USER_ACTIONS } from '@/store/modules/users';
|
|
|
|
import { User } from '@/types/users';
|
|
|
|
import { APP_STATE_ACTIONS } from '@/utils/constants/actionNames';
|
2019-07-18 14:39:39 +01:00
|
|
|
|
2019-09-09 11:33:39 +01:00
|
|
|
@Component({
|
|
|
|
components: {
|
2019-10-23 13:26:39 +01:00
|
|
|
EditIcon,
|
|
|
|
ChangePasswordIcon,
|
|
|
|
EmailIcon,
|
2019-09-26 14:36:12 +01:00
|
|
|
VButton,
|
2019-09-09 11:33:39 +01:00
|
|
|
DeleteAccountPopup,
|
|
|
|
ChangePasswordPopup,
|
|
|
|
EditProfilePopup,
|
2021-07-13 13:50:51 +01:00
|
|
|
EnableMFAPopup,
|
2021-07-14 15:38:53 +01:00
|
|
|
DisableMFAPopup,
|
2021-07-20 09:47:42 +01:00
|
|
|
MFARecoveryCodesPopup,
|
2019-09-09 11:33:39 +01:00
|
|
|
},
|
|
|
|
})
|
2020-03-16 12:08:38 +00:00
|
|
|
export default class SettingsArea extends Vue {
|
2021-07-16 17:58:26 +01:00
|
|
|
public isLoading = false;
|
2021-07-14 15:38:53 +01:00
|
|
|
public isEnableMFAPopup = false;
|
|
|
|
public isDisableMFAPopup = false;
|
2021-07-20 09:47:42 +01:00
|
|
|
public isMFACodesPopup = false;
|
2021-07-13 13:50:51 +01:00
|
|
|
|
2020-02-14 15:35:10 +00:00
|
|
|
/**
|
|
|
|
* Lifecycle hook after initial render where user info is fetching.
|
|
|
|
*/
|
2019-09-09 11:33:39 +01:00
|
|
|
public mounted(): void {
|
|
|
|
this.$store.dispatch(USER_ACTIONS.GET);
|
|
|
|
}
|
|
|
|
|
2021-07-16 17:58:26 +01:00
|
|
|
/**
|
|
|
|
* Generates user's MFA secret and opens popup.
|
|
|
|
*/
|
|
|
|
public async enableMFA(): Promise<void> {
|
|
|
|
if (this.isLoading) return;
|
|
|
|
|
|
|
|
this.isLoading = true;
|
|
|
|
|
|
|
|
try {
|
|
|
|
await this.$store.dispatch(USER_ACTIONS.GENERATE_USER_MFA_SECRET);
|
|
|
|
this.toggleEnableMFAPopup();
|
|
|
|
} catch (error) {
|
|
|
|
await this.$notify.error(error.message);
|
|
|
|
}
|
|
|
|
|
|
|
|
this.isLoading = false;
|
|
|
|
}
|
|
|
|
|
2021-07-20 09:47:42 +01:00
|
|
|
/**
|
|
|
|
* Toggles generate new MFA recovery codes popup visibility.
|
|
|
|
*/
|
|
|
|
public async generateNewMFARecoveryCodes(): Promise<void> {
|
|
|
|
if (this.isLoading) return;
|
|
|
|
|
|
|
|
this.isLoading = true;
|
|
|
|
|
|
|
|
try {
|
|
|
|
await this.$store.dispatch(USER_ACTIONS.GENERATE_USER_MFA_RECOVERY_CODES);
|
|
|
|
this.toggleMFACodesPopup();
|
|
|
|
} catch (error) {
|
|
|
|
await this.$notify.error(error.message);
|
|
|
|
}
|
|
|
|
|
|
|
|
this.isLoading = false;
|
|
|
|
}
|
|
|
|
|
2021-07-13 13:50:51 +01:00
|
|
|
/**
|
2021-07-14 15:38:53 +01:00
|
|
|
* Toggles enable MFA popup visibility.
|
|
|
|
*/
|
|
|
|
public toggleEnableMFAPopup(): void {
|
|
|
|
this.isEnableMFAPopup = !this.isEnableMFAPopup;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Toggles disable MFA popup visibility.
|
2021-07-13 13:50:51 +01:00
|
|
|
*/
|
2021-07-14 15:38:53 +01:00
|
|
|
public toggleDisableMFAPopup(): void {
|
|
|
|
this.isDisableMFAPopup = !this.isDisableMFAPopup;
|
2021-07-13 13:50:51 +01:00
|
|
|
}
|
|
|
|
|
2021-07-20 09:47:42 +01:00
|
|
|
/**
|
|
|
|
* Toggles MFA recovery codes popup visibility.
|
|
|
|
*/
|
|
|
|
public toggleMFACodesPopup(): void {
|
|
|
|
this.isMFACodesPopup = !this.isMFACodesPopup;
|
|
|
|
}
|
|
|
|
|
2020-02-14 15:35:10 +00:00
|
|
|
/**
|
|
|
|
* Opens delete account popup.
|
|
|
|
*/
|
2019-09-09 11:33:39 +01:00
|
|
|
public toggleDeleteAccountPopup(): void {
|
|
|
|
this.$store.dispatch(APP_STATE_ACTIONS.TOGGLE_DEL_ACCOUNT);
|
|
|
|
}
|
2019-09-26 14:36:12 +01:00
|
|
|
|
2020-02-14 15:35:10 +00:00
|
|
|
/**
|
|
|
|
* Opens change password popup.
|
|
|
|
*/
|
2019-09-09 11:33:39 +01:00
|
|
|
public toggleChangePasswordPopup(): void {
|
|
|
|
this.$store.dispatch(APP_STATE_ACTIONS.TOGGLE_CHANGE_PASSWORD_POPUP);
|
|
|
|
}
|
2019-09-26 14:36:12 +01:00
|
|
|
|
2020-02-14 15:35:10 +00:00
|
|
|
/**
|
|
|
|
* Opens edit account info popup.
|
|
|
|
*/
|
2019-09-09 11:33:39 +01:00
|
|
|
public toggleEditProfilePopup(): void {
|
|
|
|
this.$store.dispatch(APP_STATE_ACTIONS.TOGGLE_EDIT_PROFILE_POPUP);
|
|
|
|
}
|
|
|
|
|
2020-02-14 15:35:10 +00:00
|
|
|
/**
|
|
|
|
* Returns user info from store.
|
|
|
|
*/
|
2019-09-09 11:33:39 +01:00
|
|
|
public get user(): User {
|
|
|
|
return this.$store.getters.user;
|
|
|
|
}
|
2019-09-26 14:36:12 +01:00
|
|
|
|
2020-02-14 15:35:10 +00:00
|
|
|
/**
|
|
|
|
* Indicates if edit user info popup is shown.
|
|
|
|
*/
|
2019-09-09 11:33:39 +01:00
|
|
|
public get isEditProfilePopupShown(): boolean {
|
|
|
|
return this.$store.state.appStateModule.appState.isEditProfilePopupShown;
|
|
|
|
}
|
2019-09-26 14:36:12 +01:00
|
|
|
|
2020-02-14 15:35:10 +00:00
|
|
|
/**
|
|
|
|
* Indicates if change password popup is shown.
|
|
|
|
*/
|
2019-09-09 11:33:39 +01:00
|
|
|
public get isChangePasswordPopupShown(): boolean {
|
|
|
|
return this.$store.state.appStateModule.appState.isChangePasswordPopupShown;
|
|
|
|
}
|
2019-09-26 14:36:12 +01:00
|
|
|
|
2020-02-14 15:35:10 +00:00
|
|
|
/**
|
|
|
|
* Returns first letter of user name.
|
|
|
|
*/
|
2019-09-09 11:33:39 +01:00
|
|
|
public get avatarLetter(): string {
|
|
|
|
return this.$store.getters.userName.slice(0, 1).toUpperCase();
|
2019-07-18 14:39:39 +01:00
|
|
|
}
|
2019-09-09 11:33:39 +01:00
|
|
|
}
|
2019-06-03 13:19:48 +01:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped lang="scss">
|
2021-07-13 13:50:51 +01:00
|
|
|
.settings {
|
2019-07-10 10:55:40 +01:00
|
|
|
position: relative;
|
2019-10-28 15:59:19 +00:00
|
|
|
font-family: 'font_regular', sans-serif;
|
2021-07-13 13:50:51 +01:00
|
|
|
padding-bottom: 70px;
|
2019-10-28 15:59:19 +00:00
|
|
|
|
2019-11-05 11:30:18 +00:00
|
|
|
&__title {
|
|
|
|
font-family: 'font_bold', sans-serif;
|
|
|
|
font-size: 32px;
|
|
|
|
line-height: 39px;
|
2019-11-29 21:31:52 +00:00
|
|
|
color: #263549;
|
2019-11-05 11:30:18 +00:00
|
|
|
margin: 40px 0 25px 0;
|
|
|
|
}
|
|
|
|
|
2019-07-10 10:55:40 +01:00
|
|
|
&__edit-profile {
|
|
|
|
height: 66px;
|
|
|
|
width: calc(100% - 80px);
|
|
|
|
border-radius: 6px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
padding: 37px 40px;
|
|
|
|
background-color: #fff;
|
2019-10-28 15:59:19 +00:00
|
|
|
|
2019-07-10 10:55:40 +01:00
|
|
|
&__row {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-start;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2019-10-28 15:59:19 +00:00
|
|
|
|
2019-07-10 10:55:40 +01:00
|
|
|
&__avatar {
|
|
|
|
width: 60px;
|
|
|
|
height: 60px;
|
|
|
|
border-radius: 6px;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2019-10-28 15:59:19 +00:00
|
|
|
background: #e8eaf2;
|
2019-07-10 10:55:40 +01:00
|
|
|
margin-right: 32px;
|
2019-10-28 15:59:19 +00:00
|
|
|
|
2019-09-26 14:36:12 +01:00
|
|
|
&__letter {
|
2019-10-28 15:59:19 +00:00
|
|
|
font-family: 'font_medium', sans-serif;
|
2019-07-10 10:55:40 +01:00
|
|
|
font-size: 16px;
|
|
|
|
line-height: 23px;
|
|
|
|
color: #354049;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-10-28 15:59:19 +00:00
|
|
|
|
2019-07-10 10:55:40 +01:00
|
|
|
&__secondary-container {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
margin-top: 40px;
|
2019-10-28 15:59:19 +00:00
|
|
|
|
2019-07-10 10:55:40 +01:00
|
|
|
&__change-password {
|
|
|
|
height: 66px;
|
|
|
|
border-radius: 6px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
padding: 37px 40px;
|
|
|
|
background-color: #fff;
|
|
|
|
width: calc(48% - 80px);
|
2019-10-28 15:59:19 +00:00
|
|
|
|
2019-07-10 10:55:40 +01:00
|
|
|
&__text-container {
|
|
|
|
margin-left: 32px;
|
|
|
|
}
|
|
|
|
}
|
2019-10-28 15:59:19 +00:00
|
|
|
|
2019-07-10 10:55:40 +01:00
|
|
|
&__email-container {
|
|
|
|
height: 66px;
|
|
|
|
border-radius: 6px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-start;
|
|
|
|
align-items: center;
|
|
|
|
padding: 37px 40px;
|
|
|
|
background-color: #fff;
|
|
|
|
width: calc(48% - 80px);
|
2019-10-28 15:59:19 +00:00
|
|
|
|
2019-07-10 10:55:40 +01:00
|
|
|
&__text-container {
|
|
|
|
margin-left: 32px;
|
|
|
|
}
|
|
|
|
}
|
2019-10-28 15:59:19 +00:00
|
|
|
|
2019-07-10 10:55:40 +01:00
|
|
|
&__img {
|
2019-10-23 14:37:51 +01:00
|
|
|
min-width: 60px;
|
|
|
|
min-height: 60px;
|
2019-07-10 10:55:40 +01:00
|
|
|
}
|
|
|
|
}
|
2019-10-28 15:59:19 +00:00
|
|
|
|
2021-07-13 13:50:51 +01:00
|
|
|
&__mfa {
|
|
|
|
margin-top: 40px;
|
|
|
|
padding: 40px;
|
|
|
|
border-radius: 6px;
|
|
|
|
background-color: #fff;
|
|
|
|
|
2021-07-14 15:38:53 +01:00
|
|
|
&__buttons {
|
2021-07-13 13:50:51 +01:00
|
|
|
margin-top: 20px;
|
2021-07-20 09:47:42 +01:00
|
|
|
|
|
|
|
&__row {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2021-07-13 13:50:51 +01:00
|
|
|
}
|
|
|
|
}
|
2019-07-10 10:55:40 +01:00
|
|
|
}
|
2019-10-28 15:59:19 +00:00
|
|
|
|
2021-07-20 09:47:42 +01:00
|
|
|
.margin-right {
|
|
|
|
margin-right: 15px;
|
|
|
|
}
|
|
|
|
|
2019-07-10 10:55:40 +01:00
|
|
|
.edit-svg {
|
|
|
|
cursor: pointer;
|
2019-10-28 15:59:19 +00:00
|
|
|
|
2019-07-10 10:55:40 +01:00
|
|
|
&:hover {
|
2019-09-26 14:36:12 +01:00
|
|
|
|
|
|
|
.edit-svg__rect {
|
2019-10-28 15:59:19 +00:00
|
|
|
fill: #2683ff;
|
2019-07-10 10:55:40 +01:00
|
|
|
}
|
2019-09-26 14:36:12 +01:00
|
|
|
|
|
|
|
.edit-svg__path {
|
|
|
|
fill: white;
|
2019-07-10 10:55:40 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-10-28 15:59:19 +00:00
|
|
|
|
2019-07-10 10:55:40 +01:00
|
|
|
.input-container.full-input,
|
|
|
|
.input-wrap.full-input {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2019-09-26 14:36:12 +01:00
|
|
|
.profile-bold-text {
|
2019-10-28 15:59:19 +00:00
|
|
|
font-family: 'font_bold', sans-serif;
|
2019-09-26 14:36:12 +01:00
|
|
|
color: #354049;
|
|
|
|
font-size: 18px;
|
|
|
|
line-height: 27px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.profile-regular-text {
|
2021-07-13 13:50:51 +01:00
|
|
|
margin: 10px 0;
|
2019-10-28 15:59:19 +00:00
|
|
|
color: #afb7c1;
|
2019-09-26 14:36:12 +01:00
|
|
|
font-size: 16px;
|
|
|
|
line-height: 21px;
|
|
|
|
}
|
|
|
|
|
2019-11-29 21:31:52 +00:00
|
|
|
.email {
|
2021-07-13 13:50:51 +01:00
|
|
|
word-break: break-all;
|
2019-11-29 21:31:52 +00:00
|
|
|
}
|
|
|
|
|
2019-07-10 10:55:40 +01:00
|
|
|
@media screen and (max-width: 1300px) {
|
2019-10-28 15:59:19 +00:00
|
|
|
|
2019-07-10 10:55:40 +01:00
|
|
|
.profile-container {
|
2019-10-28 15:59:19 +00:00
|
|
|
|
2019-07-10 10:55:40 +01:00
|
|
|
&__secondary-container {
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
2019-10-28 15:59:19 +00:00
|
|
|
|
2019-07-10 10:55:40 +01:00
|
|
|
&__change-password {
|
|
|
|
width: calc(100% - 80px);
|
|
|
|
}
|
2019-10-28 15:59:19 +00:00
|
|
|
|
2019-07-10 10:55:40 +01:00
|
|
|
&__email-container {
|
|
|
|
margin-top: 40px;
|
|
|
|
width: calc(100% - 80px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-10-28 15:59:19 +00:00
|
|
|
|
2019-07-10 10:55:40 +01:00
|
|
|
@media screen and (max-height: 825px) {
|
2019-10-28 15:59:19 +00:00
|
|
|
|
2019-07-10 10:55:40 +01:00
|
|
|
.profile-container {
|
2021-07-13 13:50:51 +01:00
|
|
|
height: 535px;
|
|
|
|
overflow-y: scroll;
|
2019-09-26 14:36:12 +01:00
|
|
|
|
2019-07-10 10:55:40 +01:00
|
|
|
&__secondary-container {
|
|
|
|
margin-top: 20px;
|
2019-10-28 15:59:19 +00:00
|
|
|
|
2019-07-10 10:55:40 +01:00
|
|
|
&__email-container {
|
|
|
|
margin-top: 20px;
|
|
|
|
}
|
|
|
|
}
|
2019-10-28 15:59:19 +00:00
|
|
|
|
2019-07-10 10:55:40 +01:00
|
|
|
&__button-area {
|
|
|
|
margin-top: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-06-03 13:19:48 +01:00
|
|
|
</style>
|