Commit 108e654f authored by ncastejon's avatar ncastejon
Browse files

In credits add width:100% for link to manage svg without width.

parent 1bcc40ac
Pipeline #1761 passed with stages
in 8 minutes and 5 seconds
......@@ -115,6 +115,10 @@ img {
border-bottom: 1px solid $grey-super-light-color;
padding-bottom: 1.2rem;
a {
width: 100%;
}
img {
max-height: 70px;
}
......
......@@ -169,7 +169,7 @@ export class MapService {
// therefore we make sure the point/surface/line is still in the view box by recentering the map on the point
// 768 correspond to 768px which is the mobile breakpoint defined by Bulma our css framework
if (window.innerWidth > 768) {
// 70 is the width of the dataset data details panel divided by 4 (by 2 because the map and the table
// 70 is the width of the dataset data details panel divided by 4 (by 2 because the map and the table
// share the remaining space and again by 2 because we want to center the point so there is half on the
// left, half on the right)
this._map.flyTo({ center: e.lngLat, curve: 1, speed: 0.4, offset: new mapboxgl.Point(-70, 0) });
......@@ -500,7 +500,7 @@ export class MapService {
this._map.flyTo({
center: pointCenter,
curve: 1, duration: 500,
// 70 is the width of the dataset data details panel divided by 4 (by 2 because the map and the table
// 70 is the width of the dataset data details panel divided by 4 (by 2 because the map and the table
// share the remaining space and again by 2 because we want to center the point so there is half on the
// left, half on the right)
offset: new mapboxgl.Point(-70, 0),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment