From a9f083dcc654d1d9cd0fde634686a8358873b8eb Mon Sep 17 00:00:00 2001 From: rainbow napkin Date: Tue, 27 Oct 2026 11:41:24 -0400 Subject: [PATCH] Moved some things around --- www/css/adminPanel.css | 15 --------------- www/css/global.css | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/www/css/adminPanel.css b/www/css/adminPanel.css index 990b776..a44192d 100644 --- a/www/css/adminPanel.css +++ b/www/css/adminPanel.css @@ -15,21 +15,6 @@ 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; diff --git a/www/css/global.css b/www/css/global.css index 0182dc3..bb7d9c6 100644 --- a/www/css/global.css +++ b/www/css/global.css @@ -69,6 +69,21 @@ div.dynamic-container, div.nested-dynamic-container{ overflow: auto; } +div.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*/ +div.dynamic-container.resizable[style*="height"]{ + max-height: 100%; +} + .interactive{ cursor: pointer; user-select: none;