Skip to content

Commit

Permalink
Merge pull request #595 from Comediant24/BPC-22698-1
Browse files Browse the repository at this point in the history
fix(blizko): добавит data атрибут для кнопки
  • Loading branch information
Comediant24 authored Nov 27, 2023
2 parents 934acbe + f2d1e4c commit f5aab1d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/blocks/blizko/icon/example/icon.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,16 @@ <h1>
>
Свернутый блок карточки или переход из карусели в листинг
</div>
<div
class="
mokap-element mokap-element_before
aui-icon aui-icon_arrow-unwrap aui-icon_arrow-unwrap_hide
"
data-hide="false"
>
Свернутый блок карточки или переход из карусели в листинг - Атрибут
data-hide="false"
</div>
<br />
<div
class="
Expand Down
5 changes: 5 additions & 0 deletions src/blocks/blizko/icon/icon.css
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@
background-image: url(./arrow-unwrap-hide.svg);
}

.aui-icon_arrow-unwrap_hide[data-hide='false']::after,
.aui-icon_arrow-unwrap_hide[data-hide='false']::before {
background-image: url(./arrow-unwrap-unhide.svg);
}

.aui-icon_arrow-unwrap_unhide::after,
.aui-icon_arrow-unwrap_unhide::before {
background-image: url(./arrow-unwrap-unhide.svg);
Expand Down

0 comments on commit f5aab1d

Please sign in to comment.