From 20c95951298385dd313579a41d4916187165cf60 Mon Sep 17 00:00:00 2001 From: Ihor Romaniuk Date: Wed, 8 Nov 2023 20:58:19 +0200 Subject: [PATCH] fix: trim long text in form controls and username block (#899) --- 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 805c138..52a52fa 100644 --- a/src/profile/ProfilePage.jsx +++ b/src/profile/ProfilePage.jsx @@ -126,7 +126,7 @@ class ProfilePage extends React.Component { return ( -

{this.props.params.username}

+

{this.props.params.username}

{this.isYOBDisabled() && }
@@ -212,7 +212,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 f108494..75f5317 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

@@ -1696,7 +1696,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

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

staff

@@ -5015,7 +5015,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

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

staff

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