From 40ed104bce0c3ca5a9ce003d38ac39460a0855c8 Mon Sep 17 00:00:00 2001 From: Domagoj Kriskovic Date: Fri, 25 Oct 2024 15:06:02 +0200 Subject: [PATCH] Disable drop-shadow on review panel entry when collapsed (#21399) * Disable drop-shadow on review panel entry when collapsed * use existing .review-panel-mini class GitOrigin-RevId: 18428f37a7d048b8a63c5eaf6bf232f4cc5009b5 --- .../frontend/stylesheets/app/editor/review-panel-new.less | 6 ++++++ .../bootstrap-5/pages/editor/review-panel-new.scss | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/services/web/frontend/stylesheets/app/editor/review-panel-new.less b/services/web/frontend/stylesheets/app/editor/review-panel-new.less index 6387c6a327..5340032699 100644 --- a/services/web/frontend/stylesheets/app/editor/review-panel-new.less +++ b/services/web/frontend/stylesheets/app/editor/review-panel-new.less @@ -591,6 +591,12 @@ width: 100%; } + .review-panel-entry:hover, + .review-panel-entry-focused, + .review-panel-entry-highlighted { + box-shadow: none; + } + .review-panel-entry-indicator { position: absolute; left: 0; diff --git a/services/web/frontend/stylesheets/bootstrap-5/pages/editor/review-panel-new.scss b/services/web/frontend/stylesheets/bootstrap-5/pages/editor/review-panel-new.scss index 6d1fb6b4ad..270a1af9d3 100644 --- a/services/web/frontend/stylesheets/bootstrap-5/pages/editor/review-panel-new.scss +++ b/services/web/frontend/stylesheets/bootstrap-5/pages/editor/review-panel-new.scss @@ -622,6 +622,12 @@ .review-panel-footer { display: none; } + + .review-panel-entry:hover, + .review-panel-entry-focused, + .review-panel-entry-highlighted { + box-shadow: none; + } } }