Skip to content

Commit

Permalink
Refactor community solution card styles
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitpaulk committed May 18, 2024
1 parent a653dbd commit ad7f119
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit ad7f119

Please sign in to comment.