Skip to content

Commit

Permalink
fixup! fix: data-qa for content list
Browse files Browse the repository at this point in the history
  • Loading branch information
niktverd committed Dec 20, 2024
1 parent 4d849ea commit d3b1c0b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .storybook/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ export const yfmTransform = (content: string) => yfm(content).result.html;
export const yfmTransformInline = (content: string) =>
yfm(content, {renderInline: true}).result.html;
export const transformTitle = (title: string | TitleItemProps) => {
if (!title) {
return undefined;
}

if (typeof title === 'string') {
return yfmTransformInline(title);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ $block: '.#{$ns}QuestionsBlockItem';
position: relative;
display: block;
width: 100%;
padding-right: 24px;
padding-right: $indentSM;;
text-align: start;
cursor: pointer;
border-radius: var(--g-focus-border-radius);
Expand Down
2 changes: 1 addition & 1 deletion src/sub-blocks/BannerCard/BannerCard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ $block: '.#{$ns}banner-card';
&__subtitle {
@include add-specificity(&) {
display: inline-block;
margin-top: 8px;
margin-top: $indentXXXS;
@include subtitle();

& p {
Expand Down

0 comments on commit d3b1c0b

Please sign in to comment.