Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Commit

Permalink
Make periodical-dropdowns a modifier, not separate class within a block
Browse files Browse the repository at this point in the history
To follow the BEM structure.
  • Loading branch information
Adamik10 committed Sep 28, 2022
1 parent 8ccf1ae commit b751447
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const ModalFindOnShelf: React.FC<ModalFindOnShelfProps> = ({
{workTitle} / {author}
</h2>
{isPeriodical && (
<div className="periodical-dropdowns">
<div className="modal-find-on-shelf__periodical-dropdowns">
<Dropdown
ariaLabel="Choose periodical year"
list={[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}
}

.periodical-dropdowns {
&__periodical-dropdowns {
display: flex;
flex-direction: column;
width: 100%;
Expand Down

0 comments on commit b751447

Please sign in to comment.