From be398866f0c37433cb630645536b5e355bd87482 Mon Sep 17 00:00:00 2001 From: Inna Atanasova Date: Mon, 31 Jul 2023 12:35:16 -0400 Subject: [PATCH] feat(styles): address PR review comments [ci visual] --- packages/styles/src/search-field.scss | 3 ++- .../Components/search-field/search-field.stories.js | 12 ++---------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/packages/styles/src/search-field.scss b/packages/styles/src/search-field.scss index f53ddfec20..4bfaa8aab1 100644 --- a/packages/styles/src/search-field.scss +++ b/packages/styles/src/search-field.scss @@ -50,11 +50,12 @@ $blockActions: #{$fd-namespace}-search-field__actions; border: 0.0625rem solid var(--fdSearchField_Border_Color); &__icon { - @include fd-flex-center(); @include fd-set-square(1rem); @include fd-set-position-left(var(--fdSearchField_Padding)); @include fd-icon-selector() { + @include fd-flex-center(); + font-size: 1rem; } diff --git a/packages/styles/stories/Components/search-field/search-field.stories.js b/packages/styles/stories/Components/search-field/search-field.stories.js index fd4088753f..c1fac070a7 100644 --- a/packages/styles/stories/Components/search-field/search-field.stories.js +++ b/packages/styles/stories/Components/search-field/search-field.stories.js @@ -14,18 +14,10 @@ import '../../../src/form-item.scss'; import '../../../src/search-field.scss'; export default { - title: 'Components/Search Field', + title: 'BTP/Search Field', parameters: { - description: ``, + description: `The Search Field component is intended to be used in BTP Tool Header. `, tags: ['btp'] } }; export const Default = () => defaultExampleHtml; -Default.parameters = { - docs: { - description: { - story: ` - ` - } - } -}; \ No newline at end of file