From fd778822f9218fd8c7bc50c990f460a21bde8c1b Mon Sep 17 00:00:00 2001 From: Jessica Lawshe <5312836+lawshe@users.noreply.github.com> Date: Thu, 24 Oct 2024 09:24:47 -0500 Subject: [PATCH] Merge pull request #21364 from overleaf/jel-gallery-list-img [web] Remove image container on gallery items GitOrigin-RevId: 2cd310df1ed99cc559286a5d8d9405eed2c440c3 --- .../frontend/stylesheets/bootstrap-5/pages/templates-v2.scss | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/services/web/frontend/stylesheets/bootstrap-5/pages/templates-v2.scss b/services/web/frontend/stylesheets/bootstrap-5/pages/templates-v2.scss index 8ef828e923..701fcacabb 100644 --- a/services/web/frontend/stylesheets/bootstrap-5/pages/templates-v2.scss +++ b/services/web/frontend/stylesheets/bootstrap-5/pages/templates-v2.scss @@ -129,6 +129,8 @@ .gallery-container { --bs-gutter-y: var(--spacing-09); + + align-items: baseline; } .gallery-thumbnail { @@ -149,9 +151,6 @@ .thumbnail { @include shadow-lg; - background-color: var(--bg-light-secondary); - aspect-ratio: 1 / 1.414; // A4 Paper - object-fit: contain; border-radius: var(--border-radius-base); }