From c4aced5ed2d0c50d9eb520bf7044ab7f9051e7b2 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Mon, 15 Mar 2021 19:00:03 +0100 Subject: [PATCH] Improve settings tab --- assets/css/pages/groups/pages/settings.css | 1 - assets/js/pages/groups/pages/settings.js | 14 ++++---------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/assets/css/pages/groups/pages/settings.css b/assets/css/pages/groups/pages/settings.css index 46dd9f1e..36d1251d 100644 --- a/assets/css/pages/groups/pages/settings.css +++ b/assets/css/pages/groups/pages/settings.css @@ -20,7 +20,6 @@ } .group-settings-container .groupLogoSettingsContainer { - margin-top: 100px; text-align: center; } diff --git a/assets/js/pages/groups/pages/settings.js b/assets/js/pages/groups/pages/settings.js index 168258fb..15662504 100644 --- a/assets/js/pages/groups/pages/settings.js +++ b/assets/js/pages/groups/pages/settings.js @@ -329,18 +329,12 @@ const GroupSettingsPage = { /** * Group account image */ - var groupLogoSettingsContainer = createElem2({ - appendTo: formContainer, + const groupLogoSettingsContainer = createElem2({ + appendTo: settingsPage, type: "div", - class: "groupLogoSettingsContainer" - }); + innerHTML: "

"+tr("Group logo")+"

", + }).querySelector(".box-body"); - createElem2({ - appendTo: groupLogoSettingsContainer, - type: "h3", - class: "title", - innerHTML: "Group logo" - }); //Display group logo (img) var groupLogo = createElem2({