Skip to content

Commit

Permalink
Show icon funding widget mobile (#4211)
Browse files Browse the repository at this point in the history
* edited code to still display money icon on funding widget when screen is small

* adapted CSS styling to show icon on smaller screens

* fixed stylint issue
  • Loading branch information
sarahcrack authored Oct 2, 2024
1 parent c4b995a commit 3b70153
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion app/components/calls_to_action/simple_component.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<%= tag.div(class: %w[call-to-action call-to-action--simple] << responsive_classes) do %>
<%= tag.div(class: %w[call-to-action] << responsive_classes) do %>
<%= icon %>

<div class="call-to-action__content">
Expand Down
2 changes: 0 additions & 2 deletions app/webpacker/styles/call-to-action.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
}

@include mq($until: tablet) {
flex-direction: column;

&--simple {
picture {
display: none;
Expand Down

0 comments on commit 3b70153

Please sign in to comment.