Fix group map display

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-11-13 16:53:03 +01:00
parent 0a37719029
commit 63e7807f0d
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773
2 changed files with 5 additions and 0 deletions

View file

@ -1366,4 +1366,8 @@ div.container {
grid-template: 1fr; grid-template: 1fr;
} }
} }
.map {
height: 60vh;
width: 100%;
}
</style> </style>

View file

@ -280,6 +280,7 @@ defmodule Mobilizon.Federation.ActivityStream.Converter.Utils do
_ -> _ ->
Logger.debug("not in our database, let's try to create it") Logger.debug("not in our database, let's try to create it")
# This is odd, why do addresses have url instead of just @id?
map = Map.put(map, "url", map["id"]) map = Map.put(map, "url", map["id"])
do_get_address(map) do_get_address(map)
end end