diff --git a/settings.py b/settings.py index 5017570..1cdb0b2 100644 --- a/settings.py +++ b/settings.py @@ -7,6 +7,9 @@ def extend_superapp_settings(main_settings): main_settings['STATICFILES_DIRS'] += [ main_settings['BASE_DIR'] / "superapp" / "apps" / "admin_portal" / "static", ] + main_settings['TEMPLATES'][0]['DIRS'] += [ + main_settings['BASE_DIR'] / "superapp" / "apps" / "admin_portal" / "templates", + ] main_settings['INSTALLED_APPS'] = [ 'admin_confirm', 'unfold', @@ -63,6 +66,7 @@ def extend_superapp_settings(main_settings): }, "STYLES": [ lambda request: static("admin_portal/css/styles.css"), + lambda request: static("admin_portal/css/custom.css"), ], "SCRIPTS": [ lambda request: static("admin_portal/js/apex.min.js"), diff --git a/static/admin_portal/css/custom.css b/static/admin_portal/css/custom.css new file mode 100644 index 0000000..c60358f --- /dev/null +++ b/static/admin_portal/css/custom.css @@ -0,0 +1,3 @@ +#nav-sidebar .simplebar-placeholder { + height: fit-content !important; +} diff --git a/templates/.gitkeep b/templates/.gitkeep new file mode 100644 index 0000000..e69de29