From d8d851b2395d56f99da6fec1f562593fffdcda09 Mon Sep 17 00:00:00 2001 From: benny Vasquez Date: Mon, 9 Sep 2024 22:05:52 -0400 Subject: [PATCH] float the image right so it stays next to the text, until the screen gets too small and then float it left. --- assets/css/bundle.css | 6 ++++++ layouts/partials/common/newsletter.html | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/assets/css/bundle.css b/assets/css/bundle.css index 5877e32..2551ec9 100644 --- a/assets/css/bundle.css +++ b/assets/css/bundle.css @@ -1057,4 +1057,10 @@ a { max-height:300px; max-width: 100%; height: auto; + float:right; } +@media (max-width: 1000px){ + .newsletter-img { + float:left; + } +} \ No newline at end of file diff --git a/layouts/partials/common/newsletter.html b/layouts/partials/common/newsletter.html index 360e704..3380a62 100644 --- a/layouts/partials/common/newsletter.html +++ b/layouts/partials/common/newsletter.html @@ -2,7 +2,7 @@
- +