From c33858667f34695945e8bb92d3afd6043763747f Mon Sep 17 00:00:00 2001 From: shubham-adobeaem <117734609+shubham-adobeaem@users.noreply.github.com> Date: Thu, 29 Feb 2024 11:30:19 +0530 Subject: [PATCH 1/3] Adding styling for character counter --- src/components/textinput/_textinput.scss | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/components/textinput/_textinput.scss b/src/components/textinput/_textinput.scss index 4a0a4e5..a6d9a93 100644 --- a/src/components/textinput/_textinput.scss +++ b/src/components/textinput/_textinput.scss @@ -70,4 +70,13 @@ } textarea.cmp-adaptiveform-textinput__widget{ height: 80px; -} \ No newline at end of file +} +.cmp-adaptiveform-textinput__charcounter { + margin-left: auto; + display: flex; + align-items: center; + font-size: small; +} +.cmp-adaptiveform-textinput__charcount { +font-weight: bold; +} From 06365f042f510b5afb375367510c44f6bb27c5c3 Mon Sep 17 00:00:00 2001 From: shubham-adobeaem <117734609+shubham-adobeaem@users.noreply.github.com> Date: Thu, 29 Feb 2024 11:32:14 +0530 Subject: [PATCH 2/3] Update _textinput.scss --- src/components/textinput/_textinput.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/textinput/_textinput.scss b/src/components/textinput/_textinput.scss index a6d9a93..b22d9f6 100644 --- a/src/components/textinput/_textinput.scss +++ b/src/components/textinput/_textinput.scss @@ -78,5 +78,5 @@ textarea.cmp-adaptiveform-textinput__widget{ font-size: small; } .cmp-adaptiveform-textinput__charcount { -font-weight: bold; + font-weight: bold; } From d59e14c170330d86694e21976c5b132f1023b578 Mon Sep 17 00:00:00 2001 From: shubham-adobeaem <117734609+shubham-adobeaem@users.noreply.github.com> Date: Wed, 24 Apr 2024 13:43:00 +0530 Subject: [PATCH 3/3] Update _textinput.scss Accommodate RTL --- src/components/textinput/_textinput.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/textinput/_textinput.scss b/src/components/textinput/_textinput.scss index b22d9f6..25c23a2 100644 --- a/src/components/textinput/_textinput.scss +++ b/src/components/textinput/_textinput.scss @@ -72,7 +72,7 @@ textarea.cmp-adaptiveform-textinput__widget{ height: 80px; } .cmp-adaptiveform-textinput__charcounter { - margin-left: auto; + margin-inline-start: auto; display: flex; align-items: center; font-size: small;