Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change code example card #1737

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<div class={{if this.isExpanded "visible" "hidden"}}>
<button
class="mb-3 border hover:bg-gray-100 hover:border-gray-300 transition-colors px-4 py-5 text-gray-700 text-sm rounded flex flex-col items-center w-full group"
class="mb-3 border border-gray-300 bg-gradient-to-br from-white to-gray-100 hover:border-gray-400 transition-colors px-4 py-5 text-gray-700 text-sm rounded flex flex-col items-center w-full group"
type="button"
{{on "click" this.handleCollapseButtonClick}}
data-test-collapse-button
Expand All @@ -36,7 +36,7 @@

{{#if this.isCollapsed}}
<button
class="mt-4 border hover:bg-gray-100 hover:border-gray-300 transition-colors px-4 py-5 text-gray-700 text-sm rounded flex flex-col items-center w-full group"
class="mt-4 border border-gray-300 bg-gradient-to-br from-white to-gray-100 hover:border-gray-400 px-4 py-5 text-gray-700 text-sm rounded flex flex-col items-center w-full group"
type="button"
{{on "click" this.handleExpandButtonClick}}
data-test-expand-button
Expand All @@ -48,7 +48,7 @@
</button>
{{else}}
<button
class="mt-4 border hover:bg-gray-100 hover:border-gray-300 transition-colors px-4 py-5 text-gray-700 text-sm rounded flex flex-col items-center w-full group"
class="mt-4 border border-gray-300 bg-gradient-to-br from-white to-gray-100 hover:border-gray-400 transition-colors px-4 py-5 text-gray-700 text-sm rounded flex flex-col items-center w-full group"
type="button"
{{on "click" this.handleCollapseButtonClick}}
data-test-collapse-button
Expand Down
Loading