Commit 5b0016f4 by halweg

fix feed limit and width

parent c92ab59d
......@@ -74,6 +74,6 @@ class ApiAddress extends Template
public function getMediaUrl($token, $uid): string
{
return self::INSTAGRAM_GRAPH_API_URL."/v16.0/{$uid}/media?access_token={$token}&fields=caption,id,is_shared_to_feed,media_type,media_url,permalink,thumbnail_url,timestamp,username";
return self::INSTAGRAM_GRAPH_API_URL."/v16.0/{$uid}/media?access_token={$token}&fields=caption,id,is_shared_to_feed,media_type,media_url,permalink,thumbnail_url,timestamp,username&limit=6";
}
}
\ No newline at end of file
......@@ -197,13 +197,14 @@ $media = $block->getMedia()['data'];
padding: 16px 0;
text-align: end;
}
.instagram-container {
padding: 10px;
}
</style>
<?php if (!empty($media)): ?>
<div id="joshine-section-app-block-instagram" class="joshine-section spaced-section">
<div class="container">
<div class="instagram-container">
<div id="joshine-block-block1" class="joshine-block">
<div class="instagram-feed-container ipsc">
<h2 class="instagram-feed-title section-title title4">Follow us so you'll never miss an update</h2>
......
Markdown is supported
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