Automattic/jetpack
Add "adapt_container_width" to facebook likebox widget
Aperta
#9889 aperta il 10 lug 2018
EnhancementGood For CommunityHacktoberfest[Feature] Extra Sidebar Widgets[Pri] Low
Metriche repository
- Star
- (1808 stelle)
- Metriche merge PR
- (Merge medio 4g 5h) (645 PR mergiate in 30 g)
Descrizione
Facebook allows you to lower the width of the widget and make it adaptive. Unfortunately, this can not be played using the jetpack widget
Steps to reproduce the issue
- Create facebook likebox widget
- Set width to "0"
What I expected
The widget adapts to the width of the container
<div class="fb-page" data-adapt-container-width="true">...</div>
What happened instead
The widget has a static minimum width
<div class="fb-page" width="180" data-adapt-container-width="false">...</div>