From 4991941d03f46afa551e00dda1df8ef4544bab2f Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Thu, 18 Jul 2019 12:16:02 -0400 Subject: [PATCH] FIX: CodeFund ads in between posts on narrow widths --- assets/stylesheets/adplugin.scss | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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; }