Skip to content

Commit

Permalink
Remove old utility class
Browse files Browse the repository at this point in the history
  • Loading branch information
tagliala committed Oct 4, 2021
1 parent cc8eb1a commit 95b9610
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
4 changes: 0 additions & 4 deletions app/javascript/packs/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,6 @@ body {
vertical-align: middle;
}

.vertical-align-middle td {
vertical-align: middle !important; // stylelint-disable-line declaration-no-important
}

.pre-line {
word-break: break-all;
word-wrap: break-word;
Expand Down
2 changes: 1 addition & 1 deletion app/views/admin/users/index.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
th = t('helpers.actions')
tbody
- @users.each do |user|
tr.vertical-align-middle
tr.align-middle
td = link_to user, user_path(user)
td = user.email
td
Expand Down
2 changes: 1 addition & 1 deletion app/views/feedbacks/index.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
th = t '.actions', default: t('helpers.actions')
tbody
- @feedbacks.each do |feedback|
tr.vertical-align-middle class=('success' if feedback.fixed?)
tr.align-middle class=('success' if feedback.fixed?)
td = feedback.category.upcase
td = feedback.status.upcase
td
Expand Down
2 changes: 1 addition & 1 deletion app/views/itineraries/_table.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
th = Itinerary.human_attribute_name(:leave_date)
tbody
- itineraries.each do |itinerary|
tr.vertical-align-middle
tr.align-middle
td = link_to itinerary.start_address, itinerary_path(itinerary)
td = link_to itinerary.end_address, itinerary_path(itinerary)
td
Expand Down

0 comments on commit 95b9610

Please sign in to comment.