From cd1e312190c4bf8e62c5dedc5d69f2d03cd50401 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20V=C3=A9lez?= Date: Fri, 27 Jun 2025 23:03:59 +0200 Subject: [PATCH] MM-64690 - fix channel name input label (#32157) * MM-64690 - fix channel name input label * add correct font-weight --------- Co-authored-by: Mattermost Build --- .../channel_settings_info_tab.tsx | 9 ++++----- .../channel_settings_modal.scss | 2 +- .../start_trial_form_modal.test.tsx.snap | 12 ++++++++++-- .../inputs/input/__snapshots__/input.test.tsx.snap | 5 ++++- .../src/components/widgets/inputs/input/input.scss | 1 + .../src/components/widgets/inputs/input/input.tsx | 6 ++++-- webapp/channels/src/i18n/en.json | 2 +- 7 files changed, 25 insertions(+), 12 deletions(-) diff --git a/webapp/channels/src/components/channel_settings_modal/channel_settings_info_tab.tsx b/webapp/channels/src/components/channel_settings_modal/channel_settings_info_tab.tsx index 42a8bfac3c..e894f7e2ef 100644 --- a/webapp/channels/src/components/channel_settings_modal/channel_settings_info_tab.tsx +++ b/webapp/channels/src/components/channel_settings_modal/channel_settings_info_tab.tsx @@ -344,12 +344,11 @@ function ChannelSettingsInfoTab({ /> {/* Channel Name Section*/} - + {formatMessage({id: 'channel_settings.channel_info_tab.name', defaultMessage: 'Channel Info'})} +
@@ -97,7 +100,9 @@ Object { >
diff --git a/webapp/channels/src/components/widgets/inputs/input/__snapshots__/input.test.tsx.snap b/webapp/channels/src/components/widgets/inputs/input/__snapshots__/input.test.tsx.snap index a9a3d8a5d9..1fb2b866f9 100644 --- a/webapp/channels/src/components/widgets/inputs/input/__snapshots__/input.test.tsx.snap +++ b/webapp/channels/src/components/widgets/inputs/input/__snapshots__/input.test.tsx.snap @@ -11,7 +11,10 @@ exports[`components/widgets/inputs/Input should match snapshot 1`] = ` >
diff --git a/webapp/channels/src/components/widgets/inputs/input/input.scss b/webapp/channels/src/components/widgets/inputs/input/input.scss index ed85a6c48d..438cd397f4 100644 --- a/webapp/channels/src/components/widgets/inputs/input/input.scss +++ b/webapp/channels/src/components/widgets/inputs/input/input.scss @@ -192,6 +192,7 @@ background-color: var(--center-channel-bg); color: rgba(var(--center-channel-color-rgb), 0.75); font-size: 10px; + font-weight: normal; line-height: 14px; opacity: 0; transform: translateY(8px); diff --git a/webapp/channels/src/components/widgets/inputs/input/input.tsx b/webapp/channels/src/components/widgets/inputs/input/input.tsx index 7b0d185da7..61f8273de8 100644 --- a/webapp/channels/src/components/widgets/inputs/input/input.tsx +++ b/webapp/channels/src/components/widgets/inputs/input/input.tsx @@ -266,8 +266,10 @@ const Input = React.forwardRef(( data-testid='input-wrapper' > {useLegend && ( -