Skip to content

Commit

Permalink
fix: chevron orientation
Browse files Browse the repository at this point in the history
  • Loading branch information
mentos1386 committed Apr 28, 2024
1 parent 1ed71e4 commit e77764c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions web/static/css/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -1878,7 +1878,7 @@ code {
display: flex;
}

.\[\&_svg\]\:open\:-rotate-180[open] svg {
--tw-rotate: -180deg;
.\[\&_svg\]\:open\:rotate-90[open] svg {
--tw-rotate: 90deg;
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
4 changes: 2 additions & 2 deletions web/templates/pages/index.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
</div>
{{ range $group, $monitorsAndStatus := .Monitors }}
<details
class="bg-white shadow-md rounded-lg p-6 py-4 gap-2 [&_svg]:open:-rotate-180"
class="bg-white shadow-md rounded-lg p-6 py-4 gap-2 [&_svg]:open:rotate-90"
>
<summary
class="flex flex-row gap-2 p-3 py-2 -mx-3 cursor-pointer hover:bg-blue-50 rounded-lg"
Expand All @@ -108,7 +108,7 @@
<svg
class="feather h-6 w-6 overflow-visible self-center transition-all duration-300"
>
<use href="/static/icons/feather-sprite.svg#chevron-down" />
<use href="/static/icons/feather-sprite.svg#chevron-right" />
</svg>
</summary>
{{ range $monitorsAndStatus.Monitors }}
Expand Down

0 comments on commit e77764c

Please sign in to comment.