Adapt styling

This commit is contained in:
Chi Vinh Le
2018-03-08 14:36:43 +01:00
parent e72622e913
commit 866d6d8643
3 changed files with 5 additions and 3 deletions
@@ -1,6 +1,6 @@
.root {
margin-bottom: 20px;
width: 380px;
width: 350px;
}
.innerSettings {
@@ -41,7 +41,9 @@ class Settings extends React.Component {
<IfSlotIsNotEmpty slot="notificationSettings" queryData={{ root }}>
<div className={styles.root}>
<h3>{t('talk-plugin-notifications.settings_title')}</h3>
{needEmailVerification && <EmailVerificationBanner email={email} />}
<div className={styles.bannerContainer}>
{needEmailVerification && <EmailVerificationBanner email={email} />}
</div>
<h4
className={cn(styles.subtitle, {
[styles.disabled]: needEmailVerification,
@@ -13,6 +13,6 @@ en:
banner_error:
title: Error
text: There has been an error sending your verification email. Please try again later.
digest_option: I want to receive notifications
digest_option: Send notifications
digest_enum:
NONE: Immediately