From 5e7ea149a504cf6a8f7e7cd2ed9098bf9c63bb60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Dupr=C3=A9?= <ant.dupre@gmail.com> Date: Wed, 17 May 2023 15:52:26 +0200 Subject: [PATCH] fix: hide actions for cummunity in profile --- src/styles/territory-profile.scss | 9 ++++++++- src/widjets-display-territory-tzcld.js | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/styles/territory-profile.scss b/src/styles/territory-profile.scss index bebb34b..35081cb 100644 --- a/src/styles/territory-profile.scss +++ b/src/styles/territory-profile.scss @@ -2,6 +2,11 @@ padding-left: 24px; padding-right: 24px; } +#communities-list { + [next="communities-community-create"] { + display: none; + } +} #communities-community-edit { [name="tzcld_profile.membership"] { @@ -17,7 +22,9 @@ } #communities-community-profile { - + communities-join-leave-button { + display: none; + } &>.segment.block { background: none; box-shadow: none; diff --git a/src/widjets-display-territory-tzcld.js b/src/widjets-display-territory-tzcld.js index 8538165..9ed2f5a 100644 --- a/src/widjets-display-territory-tzcld.js +++ b/src/widjets-display-territory-tzcld.js @@ -215,7 +215,7 @@ import("./utils.js").then((utils) => { </div> </template> </solid-widget> - <h2 class="text-color-heading text-bold text-xxxlarge text-letter-spacing-large">Vue publique</h2> + <h2 class="text-color-heading text-bold text-xxxlarge text-letter-spacing-large margin-top-none">Vue publique</h2> <div id="tzcld-territory-profile-wrapper" class="tzcld-territory-profile-wrapper segment full shadow bg-color-white"> <div class="tzcld-user-profile-col1 segment width-30 padding-right-60"> <div class="section-avatar padding-small padding-bottom-large text-center"> -- GitLab