Set remove marker link margin-bottom in CSS
We were setting the margin-top property in CSS but the margin-bottom property by adding a div with a `.margin-bottom` HTML class.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
border-bottom: 1px dotted #cf2a0e;
|
||||
color: $delete;
|
||||
display: inline-block;
|
||||
margin-bottom: $line-height;
|
||||
margin-top: $line-height / 2;
|
||||
|
||||
&:hover,
|
||||
|
||||
@@ -38,12 +38,10 @@ class Shared::MapLocationComponent < ApplicationComponent
|
||||
end
|
||||
|
||||
def remove_marker
|
||||
tag.div class: "margin-bottom" do
|
||||
link_to remove_marker_label, "#",
|
||||
id: remove_marker_link_id,
|
||||
class: "map-location-remove-marker"
|
||||
end
|
||||
end
|
||||
|
||||
def data
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user