I'm using google maps and the problem is that we have by default a margin right with an "x". The only customization that I need is to remove this margin and "x" and make this card to be closed when is clicked outside.
Obs: I'm using the gem gmaps4rails.
Obs 2: I have the same issue that was asked in this post and any of the answers solved to me. Maybe the code was updated in 2017 or the gem has a particular way to make it? This is his picture: