{"id":16153217,"date":"2022-11-01T15:18:47","date_gmt":"2022-11-01T15:18:47","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/flexible-popup-block\/"},"modified":"2022-11-01T15:18:47","modified_gmt":"2022-11-01T15:18:47","slug":"flexible-popup-block","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/flexible-popup-block\/","title":{"rendered":"Flexible popup block!"},"content":{"rendered":"<p>I needed a simple popup plugin for emergency notifications and was looking for something that integrates nicely with the new block editor. I found a bunch that were clunky and \/ or bloated.  This is perfect (well almost perfect).  It has all the settings I need (sets an optional cookie with adjustable lifespan, it has intuitive appearance controls, and it&#8217;s SO easy to create and modify popups on a per-page \/ post basis. The only reason I didn&#8217;t give it 5 stars is that the min-width setting doesn&#8217;t allow sufficient control to make this play nicely on mobile devices. Easy to fix with a bit of CSS &#8211; but adding width &amp; max-width settings would IMO make this much better. Example, in child theme I added:<\/p>\n<pre><code>.abs-popup .modal-content {\n\twidth: 90% !important;\n\tmax-width: 400px !important;\n}<\/code><\/pre>\n<p>Thanks for sharing your plugin!<br \/>\npk<\/p>\n","protected":false},"template":"","class_list":["post-16153217","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16153217","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16153217\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=16153217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}