From 1f30b0dcf7e5ab75f847f11d06056ea9d5263fa0 Mon Sep 17 00:00:00 2001 From: Shitong Luo Date: Fri, 4 Oct 2024 13:23:09 -0400 Subject: [PATCH] Update common.js --- assets/js/common.js | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/js/common.js b/assets/js/common.js index 85013fb2..2d6f06c3 100644 --- a/assets/js/common.js +++ b/assets/js/common.js @@ -15,6 +15,7 @@ $(function () { } else if (element.is('div')) { // set the style to background-size: cover; element.css('background-size', 'cover'); + element.css('background-position', 'center'); } } }