From 0d817548a5b9a78b58a60d69aa281ba426b2e36c Mon Sep 17 00:00:00 2001 From: rainbow napkin Date: Tue, 27 Oct 2026 11:39:38 -0400 Subject: [PATCH] Started work on improving admin panel --- src/views/partial/adminPanel/userList.ejs | 2 +- www/css/adminPanel.css | 24 +++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/src/views/partial/adminPanel/userList.ejs b/src/views/partial/adminPanel/userList.ejs index 854ab15..e517f5b 100644 --- a/src/views/partial/adminPanel/userList.ejs +++ b/src/views/partial/adminPanel/userList.ejs @@ -15,7 +15,7 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . %>

User List:

-
+
diff --git a/www/css/adminPanel.css b/www/css/adminPanel.css index 1141bf5..990b776 100644 --- a/www/css/adminPanel.css +++ b/www/css/adminPanel.css @@ -14,14 +14,38 @@ GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see .*/ +/* We should turn this into a base style shared with the version used in the profile page*/ +.dynamic-container.resizable{ + resize: vertical; + width: fit-content; + height: fit-content; + min-height: 1.5em; + max-height: 8em; + padding: 0.5em 0.2em; + border-bottom-right-radius: 0; +} + +/*Little hacky but this keeps initial max-height from fucking up resizing*/ +.dynamic-container.resizable[style*="height"]{ + max-height: 100%; +} + .admin-list-div{ display: flex; flex-direction: column; + margin: 0 0.5em; } .admin-panel-container-div{ margin: 0 auto 5em; max-width: 100%; + display: grid; + grid-template-columns: repeat(auto-fit, minmax(45em, 1fr)); +} + + +.admin-list-entry-title-row{ + box-shadow: none; } .admin-list-entry-img-title{