diff --git a/src/profile/ProfilePage.jsx b/src/profile/ProfilePage.jsx index 525f928..336b6b6 100644 --- a/src/profile/ProfilePage.jsx +++ b/src/profile/ProfilePage.jsx @@ -112,9 +112,11 @@ class ProfilePage extends React.Component { return ( -

{this.props.match.params.username}

- -
+ +

{this.props.match.params.username}

+ +
+
); } diff --git a/src/profile/__snapshots__/ProfilePage.test.jsx.snap b/src/profile/__snapshots__/ProfilePage.test.jsx.snap index eb850f6..8466ed0 100644 --- a/src/profile/__snapshots__/ProfilePage.test.jsx.snap +++ b/src/profile/__snapshots__/ProfilePage.test.jsx.snap @@ -86,24 +86,28 @@ exports[` Renders correctly in various states viewing other profi
-

- verified -

-

- - Member since +

+ verified +

+

- 2017 + Member since + + 2017 + - -

-
+

+
+
Renders correctly in various states viewing other profi
-

- verified -

-

- - Member since +

+ verified +

+

- 2017 + Member since + + 2017 + - -

-
+

+
+
Renders correctly in various states viewing own profile profile avatar Renders correctly in various states viewing own profile
-

- staff -

-

- - Member since +

+ staff +

+

- 2017 + Member since + + 2017 + - -

-
+

+
+
Renders correctly in various states viewing own profile
-

- staff -

-

- - Member since +

+ staff +

+

- 2017 + Member since + + 2017 + - -

-
+

+
+
Renders correctly in various states viewing own profile

Lemon Seltzer

@@ -580,6 +598,7 @@ exports[` Renders correctly in various states viewing own profile

Montenegro

@@ -670,6 +689,7 @@ exports[` Renders correctly in various states viewing own profile

Yoruba

@@ -760,6 +780,7 @@ exports[` Renders correctly in various states viewing own profile

Elementary/primary school

@@ -1029,6 +1050,7 @@ exports[` Renders correctly in various states viewing own profile

This is my bio

@@ -1278,6 +1300,7 @@ exports[` Renders correctly in various states while saving an edi profile avatar Renders correctly in various states while saving an edi
-

- staff -

-

- - Member since +

+ staff +

+

- 2017 + Member since + + 2017 + - -

-
+

+
+
Renders correctly in various states while saving an edi
-

- staff -

-

- - Member since +

+ staff +

+

- 2017 + Member since + + 2017 + - -

-
+

+
+
Renders correctly in various states while saving an edi

Lemon Seltzer

@@ -1581,6 +1613,7 @@ exports[` Renders correctly in various states while saving an edi

Montenegro

@@ -1671,6 +1704,7 @@ exports[` Renders correctly in various states while saving an edi

Yoruba

@@ -1761,6 +1795,7 @@ exports[` Renders correctly in various states while saving an edi

Elementary/primary school

diff --git a/src/profile/forms/Bio.jsx b/src/profile/forms/Bio.jsx index 2ee99c3..96107e3 100644 --- a/src/profile/forms/Bio.jsx +++ b/src/profile/forms/Bio.jsx @@ -91,7 +91,7 @@ class Bio extends React.Component { showVisibility={visibilityBio !== null} visibility={visibilityBio} /> -

{bio}

+

{bio}

), empty: ( @@ -109,7 +109,7 @@ class Bio extends React.Component { static: ( -

{bio}

+

{bio}

), }} diff --git a/src/profile/forms/Country.jsx b/src/profile/forms/Country.jsx index 45abafe..1cb24d6 100644 --- a/src/profile/forms/Country.jsx +++ b/src/profile/forms/Country.jsx @@ -76,6 +76,7 @@ class Country extends React.Component { {intl.formatMessage(messages['profile.country.label'])} -

+

{intl.formatMessage(get( messages, `profile.education.levels.${levelOfEducation}`, @@ -133,7 +134,7 @@ class Education extends React.Component { static: ( -

+

{intl.formatMessage(get( messages, `profile.education.levels.${levelOfEducation}`, diff --git a/src/profile/forms/Name.jsx b/src/profile/forms/Name.jsx index 2976a34..56ed958 100644 --- a/src/profile/forms/Name.jsx +++ b/src/profile/forms/Name.jsx @@ -68,7 +68,7 @@ class Name extends React.Component { Once we're super sure we don't want it back, you could delete the name props and such to fully get rid of it. */} -

{name}

+

{name}

{intl.formatMessage(messages['profile.name.details'])} @@ -92,7 +92,7 @@ class Name extends React.Component { showVisibility={visibilityName !== null} visibility={visibilityName} /> -

{name}

+

{name}

{intl.formatMessage(messages['profile.name.details'])} @@ -112,7 +112,7 @@ class Name extends React.Component { static: ( -

{name}

+

{name}

), }} diff --git a/src/profile/forms/PreferredLanguage.jsx b/src/profile/forms/PreferredLanguage.jsx index 4620666..30e4d9b 100644 --- a/src/profile/forms/PreferredLanguage.jsx +++ b/src/profile/forms/PreferredLanguage.jsx @@ -86,6 +86,7 @@ class PreferredLanguage extends React.Component { {intl.formatMessage(messages['profile.preferredlanguage.label'])}