From 1a4174d2f254d5d6705e8ddde656f2d76cebfdc0 Mon Sep 17 00:00:00 2001 From: Ihor Romaniuk Date: Wed, 8 Nov 2023 20:57:45 +0200 Subject: [PATCH] fix: trim long text in form controls and username block (#887) * fix: trim long text in form controls and username block * fix: update snapshots --- src/profile/ProfilePage.jsx | 4 +- .../__snapshots__/ProfilePage.test.jsx.snap | 58 +++++++++---------- .../__snapshots__/SocialLinks.test.jsx.snap | 2 +- src/profile/forms/elements/Visibility.jsx | 2 +- 4 files changed, 33 insertions(+), 33 deletions(-) diff --git a/src/profile/ProfilePage.jsx b/src/profile/ProfilePage.jsx index 306be36ed..839d09041 100644 --- a/src/profile/ProfilePage.jsx +++ b/src/profile/ProfilePage.jsx @@ -124,7 +124,7 @@ class ProfilePage extends React.Component { return ( -

{this.props.match.params.username}

+

{this.props.match.params.username}

{this.isYOBDisabled() && }
@@ -222,7 +222,7 @@ class ProfilePage extends React.Component { /> -
+
{this.renderHeadingLockup()}
diff --git a/src/profile/__snapshots__/ProfilePage.test.jsx.snap b/src/profile/__snapshots__/ProfilePage.test.jsx.snap index 5a00179e4..c37aafaf1 100644 --- a/src/profile/__snapshots__/ProfilePage.test.jsx.snap +++ b/src/profile/__snapshots__/ProfilePage.test.jsx.snap @@ -104,7 +104,7 @@ exports[` Renders correctly in various states test country edit w
Renders correctly in various states test country edit w data-hj-suppress={true} >

staff

@@ -191,7 +191,7 @@ exports[` Renders correctly in various states test country edit w data-hj-suppress={true} >

staff

@@ -1694,7 +1694,7 @@ exports[` Renders correctly in various states test country edit w Renders correctly in various states test preferreded la
Renders correctly in various states test preferreded la data-hj-suppress={true} >

staff

@@ -3747,7 +3747,7 @@ exports[` Renders correctly in various states test preferreded la data-hj-suppress={true} >

staff

@@ -5009,7 +5009,7 @@ exports[` Renders correctly in various states test preferreded la Renders correctly in various states while saving an edi
Renders correctly in various states while saving an edi data-hj-suppress={true} >

staff

@@ -8301,7 +8301,7 @@ exports[` Renders correctly in various states while saving an edi data-hj-suppress={true} >

staff

@@ -8995,7 +8995,7 @@ exports[` Renders correctly in various states while saving an edi { -