From 15d18d50c2e2a77c693bf6c90ccff6cff6f4406b Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Sun, 21 Feb 2021 19:40:57 +0100 Subject: [PATCH] Center cards properly in the surrounding box Otherwise the box is not centered in "Newest Upload" on the title page. --- app/assets/stylesheets/my_styles.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/assets/stylesheets/my_styles.scss b/app/assets/stylesheets/my_styles.scss index 2801526..a4ae807 100644 --- a/app/assets/stylesheets/my_styles.scss +++ b/app/assets/stylesheets/my_styles.scss @@ -577,6 +577,9 @@ a.black border: 1px solid #e0e0e0; box-shadow: 0px 0px 5px 2px rgba(189,189,189,0.5); padding: 5px; + // Center this card in the box + margin-left: auto; + margin-right: auto; } .pkgcard.unapproved {