Skip to content

Commit

Permalink
Standardise on only setting top margins
Browse files Browse the repository at this point in the history
Standardising on only setting top margins makes it easier to decide on spacing without worrying what elements are doing.
  • Loading branch information
jdudley1123 committed Nov 18, 2024
1 parent 06c5cf6 commit 00ceb61
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions app/assets/stylesheets/application.tailwind.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ main {
}

.predictions {
@apply mb-2;

> * {
@apply py-2 border-b border-gray-300;
}
Expand Down
2 changes: 1 addition & 1 deletion app/views/forecasts/_pollutant_selector.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"Particles < 10µm" => 'PM10',
"Ozone" => 'O3',
}),
class: "my-4",
class: "mt-5",
data: { action: "map#updateMap", "map-target": "pollutantSelector" }
%>
<% end %>

0 comments on commit 00ceb61

Please sign in to comment.