FIX: CodeFund ads in between posts on narrow widths

FIX: CodeFund ads in between posts on narrow widths

diff --git a/assets/stylesheets/adplugin.scss b/assets/stylesheets/adplugin.scss
index 8fa4d5f..f1067cc 100644
--- a/assets/stylesheets/adplugin.scss
+++ b/assets/stylesheets/adplugin.scss
@@ -172,10 +172,16 @@
 }
 
 .codefund-wrapper.codefund-post-bottom {
-  width: 757px;
+  width: calc(#{$topic-body-width} + 67px);
   text-align: center;
 }
 
+@media all and (max-width: 775px) {
+  .codefund-wrapper.codefund-post-bottom {
+    width: 100%;
+  }
+}
+
 .codefund-wrapper.codefund-topic-above-suggested {
   clear: both;
 }

GitHub sha: 4991941d

1 Like