From f4612bc6e6c4f5a6f93a0667658748cb18ed091b Mon Sep 17 00:00:00 2001 From: Matthieu Leproux Date: Fri, 16 Jul 2021 09:38:10 +0200 Subject: [PATCH] related to #1451 adjuted card heigth in tile mode --- admin/themes/default/js/cat_list.js | 4 ++-- admin/themes/default/template/cat_list.tpl | 4 ---- admin/themes/default/theme.css | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/admin/themes/default/js/cat_list.js b/admin/themes/default/js/cat_list.js index 0c06e831c..db38063a2 100644 --- a/admin/themes/default/js/cat_list.js +++ b/admin/themes/default/js/cat_list.js @@ -292,7 +292,7 @@ function setDisplayTile() { minWidth: "220px", maxWidth: "280px", flexDirection: "column", - maxHeight: "300px", + maxHeight: "320px", alignItems: "center", margin: "15px" }); @@ -336,7 +336,7 @@ function setDisplayTile() { minWidth: "220px", maxWidth: "280px", flexDirection: "column", - maxHeight: "300px", + maxHeight: "320px", margin: "15px" }); diff --git a/admin/themes/default/template/cat_list.tpl b/admin/themes/default/template/cat_list.tpl index 0d6dabea4..1082606ea 100644 --- a/admin/themes/default/template/cat_list.tpl +++ b/admin/themes/default/template/cat_list.tpl @@ -155,11 +155,7 @@ jQuery(document).ready(function(){ .categoryBox, .addAlbum{ display: flex; flex-direction: column; - max-height: 200px; flex-grow: 1; - - /* Potential Animation */ - /* transition: 1s linear; */ } .albumIcon span{ diff --git a/admin/themes/default/theme.css b/admin/themes/default/theme.css index 9af141b4c..4438eaba2 100644 --- a/admin/themes/default/theme.css +++ b/admin/themes/default/theme.css @@ -161,7 +161,7 @@ TABLE.languages TR TD { padding: 7px 20px; } .categoryBox, .addAlbum { position: relative; text-align: left; - height: 300px; + height: 320px; width: 220px; margin: 15px; border-radius: 10px;