From 6ff0e7f5e754a61c5cfd0bd911402bbc938d0388 Mon Sep 17 00:00:00 2001 From: Kim Nguyen Date: Thu, 17 Jun 2021 11:29:43 -0400 Subject: [PATCH] Fix search result images breaking out of container. Fix #44 --- _sass/_screen.scss | 4 ++++ css/style.css | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/_sass/_screen.scss b/_sass/_screen.scss index ea1aad1..7b6be68 100644 --- a/_sass/_screen.scss +++ b/_sass/_screen.scss @@ -1429,6 +1429,10 @@ nav ul { clear: both; } +.search-result img { + max-width: 100%; +} + /* @end */ /* @group ----- Items/Browse ----- */ diff --git a/css/style.css b/css/style.css index ea9a199..e15c688 100644 --- a/css/style.css +++ b/css/style.css @@ -1494,6 +1494,10 @@ clear: both; } + .search-result img { + max-width: 100%; + } + /* @end */ /* @group ----- Items/Browse ----- */ #no-results {