From faac62c2961aec7536a57825f91a14117e27c731 Mon Sep 17 00:00:00 2001 From: Federico Iseppon <100614752+federicoisepponfincons@users.noreply.github.com> Date: Mon, 28 Aug 2023 11:31:05 +0200 Subject: [PATCH] fix: subtitles --- ...search-overlay-instant-results.stories.tsx | 45 ++++++++++++------- .../pages/search-overlay/search-overlay.scss | 1 + 2 files changed, 31 insertions(+), 15 deletions(-) diff --git a/src/storybook/pages/search-overlay/search-overlay-instant-results.stories.tsx b/src/storybook/pages/search-overlay/search-overlay-instant-results.stories.tsx index 485632eaa5a..237a24df407 100644 --- a/src/storybook/pages/search-overlay/search-overlay-instant-results.stories.tsx +++ b/src/storybook/pages/search-overlay/search-overlay-instant-results.stories.tsx @@ -105,24 +105,36 @@ const Template = (args): JSX.Element => (
- - Result title 1Lorem ipsum subtitle - +
+ + Result title 1 + +

Lorem ipsum subtitle

+
- - Result title 2Lorem ipsum subtitle - +
+ + Result title 2 + +

Lorem ipsum subtitle

+
- - Result title 3Lorem ipsum subtitle - +
+ + Result title 3 + +

Lorem ipsum subtitle

+
- - Result title 4Lorem ipsum subtitle - +
+ + Result title 3 + +

Lorem ipsum subtitle

+
example (
- - Result title 5Lorem ipsum subtitle - +
+ + Result title 5 + +

Lorem ipsum subtitle

+
Show all 13 results diff --git a/src/storybook/pages/search-overlay/search-overlay.scss b/src/storybook/pages/search-overlay/search-overlay.scss index 0484b38121d..8965a366790 100644 --- a/src/storybook/pages/search-overlay/search-overlay.scss +++ b/src/storybook/pages/search-overlay/search-overlay.scss @@ -55,6 +55,7 @@ $timetable-margin-block: 7vh; display: block; color: var(--sbb-color-smoke-default); + margin: 0; } .result-image {