Skip to content

Commit

Permalink
fixup! fixup! fix: review replies
Browse files Browse the repository at this point in the history
  • Loading branch information
niktverd committed Dec 20, 2024
1 parent 30a71e0 commit a9fdf8c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions playwright/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,3 +136,4 @@
- `npm run playwright:docker` - run tests using docker
- `npm run playwright:docker:update` - update screenshots using docker
- `npm run playwright:docker:clear-cache` - clear node_modules cache for docker container and clear cache vite
- `npx playwright show-report ./playwright-report-docker` - show report
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ $block: '.#{$ns}QuestionsBlockItem';

&__title {
@include add-specificity(&) {
@include reset-button-style();
// @include reset-button-style();
@include heading4();
@include focusable();

Expand Down Expand Up @@ -69,4 +69,10 @@ $block: '.#{$ns}QuestionsBlockItem';

margin-top: $indentXXS;
}

&__button {
@include reset-button-style();

width: 100%;
}
}
5 changes: 1 addition & 4 deletions src/blocks/Questions/QuestionBlockItem/QuestionBlockItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const QuestionBlockItem = ({
role={'listitem'}
>
<button
className={b('title')}
className={b('button')}
onClick={onClick}
aria-expanded={isOpened}
onKeyDown={onKeyDown}
Expand All @@ -46,10 +46,7 @@ export const QuestionBlockItem = ({
constructor: true,
}}
onClick={onClick}
role="button"
aria-expanded={isOpened}
tabIndex={0}
onKeyDown={onKeyDown}
>
<ToggleArrow
open={isOpened}
Expand Down

0 comments on commit a9fdf8c

Please sign in to comment.