Skip to content

Commit

Permalink
fix facilities
Browse files Browse the repository at this point in the history
  • Loading branch information
vurtn committed Oct 10, 2021
1 parent 4a0d14d commit fd645b5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/facilities/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@

<%= link_to image_tag("icons/edit.svg"),
edit_facility_path(facility),
'aria-label': "Edit #{facility.name}", class: 'w-5 mx-2' %>
'aria-label': "Edit #{facility.name}", class: 'w-8 smico:w-4 mx-2' %>

<%= link_to image_tag("icons/trash.svg"),
facility, method: :delete, data: { confirm: 'Are you sure?' },
'aria-label': "Delete #{facility.name}", class: 'w-5 mx-2' %>
'aria-label': "Delete #{facility.name}", class: 'w-8 smico:w-4 mx-2' %>
</td>
</tr>
<% end %>
Expand Down
8 changes: 8 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@ module.exports = {
"72": "18rem",
},
},
screens: {
'smico': '427px',
'sm': '640px',
'md': '768px',
'lg': '1024px',
'xl': '1280px',
'2xl': '1536px',
}
},
variants: {},
plugins: [],
Expand Down

0 comments on commit fd645b5

Please sign in to comment.