From 151ce5fe99be1793d25747845e38e69a63029bab Mon Sep 17 00:00:00 2001
From: Benoit Alessandroni <benoit@happy-dev.fr>
Date: Tue, 19 May 2020 21:17:55 +0200
Subject: [PATCH] Fixing css glitch

---
 src/includes/head.pug                      |  6 ++----
 src/includes/mentor/resources/database.pug |  4 ++--
 src/scripts/dispatch-space-n-user.js       |  2 +-
 src/styles/index.scss                      | 16 ++++++++++++++--
 4 files changed, 19 insertions(+), 9 deletions(-)

diff --git a/src/includes/head.pug b/src/includes/head.pug
index 4b43aee7..4fd3a0e6 100644
--- a/src/includes/head.pug
+++ b/src/includes/head.pug
@@ -3,7 +3,7 @@ head
     meta(charset="utf-8")
     script(src="https://unpkg.com/@webcomponents/webcomponentsjs@1.2.7/webcomponents-loader.js")
     //- script(type="module" src="/scripts/sib-core/dist/index.js")
-    script(type="module" src="https://unpkg.com/@startinblox/core@0.9.27")
+    script(type="module" src="https://unpkg.com/@startinblox/core@0.9")
     script(type="module" src="https://unpkg.com/@startinblox/router@0.7")
     //- script(type="module" src="/scripts/sib-auth/index.js")
     script(type="module" src="https://unpkg.com/@startinblox/oidc@0.8")
@@ -26,11 +26,9 @@ head
                 "entrepreneurProfile": "http://happy-dev.fr/owl/#entrepreneur_profile",
                 "mentorProfile": "http://happy-dev.fr/owl/#mentor_profile",
                 "account":"hd:account",
-                "picture":"foaf:depiction",
                 "messageSet":"http://happy-dev.fr/owl/#message_set",
                 "author":"http://happy-dev.fr/owl/#author_user",
                 "title":"http://happy-dev.fr/owl/#title",
-                "avatar":"foaf:depiction",
-                "author.avatar":"foaf:depiction"
+                "picture":"foaf:depiction"
             }
         
diff --git a/src/includes/mentor/resources/database.pug b/src/includes/mentor/resources/database.pug
index 6d627dcf..4cd86338 100644
--- a/src/includes/mentor/resources/database.pug
+++ b/src/includes/mentor/resources/database.pug
@@ -60,10 +60,10 @@ container.block_list.flex.flex_espace
             range-format=`${endpoints.formats}`
             range-country=`${endpoints.countries}`
 
-            multiple-country='sib-form-dropdown'
+            multiple-country='sib-form-auto-completion'
             widget-country='sib-form-auto-completion'
 
-            multiple-language='sib-form-dropdown'
+            multiple-language='sib-form-auto-completion'
             widget-language='sib-form-auto-completion'
 
             multiple-format='sib-form-dropdown'
diff --git a/src/scripts/dispatch-space-n-user.js b/src/scripts/dispatch-space-n-user.js
index 0049a14e..f4ccae84 100644
--- a/src/scripts/dispatch-space-n-user.js
+++ b/src/scripts/dispatch-space-n-user.js
@@ -1,4 +1,4 @@
-import { store } from 'https://unpkg.com/@startinblox/core@0.9.27';
+import { store } from 'https://unpkg.com/@startinblox/core@0.9';
 const sibAuth = document.querySelector('sib-auth');
 
 const context = {
diff --git a/src/styles/index.scss b/src/styles/index.scss
index 6fe3cad0..cb3475f1 100644
--- a/src/styles/index.scss
+++ b/src/styles/index.scss
@@ -672,12 +672,16 @@ button{
     border-radius: 0;
     color: #7A8789;
 }
+form .ss-main .ss-multi-selected {
+    height: auto;
+}
 form .ss-main .ss-multi-selected .ss-add{
     margin: -5px 12px 0 5px;
 }
 form .ss-main .ss-multi-selected .ss-values .ss-value{
-    margin: 0 0.5rem 0 0;
+    margin: 0.5rem 0.5rem 0 0;
 }
+
 /* ----------------- CHECKBOX ---------------------------*/
 
 .ss-list.checkbox{
@@ -2061,8 +2065,16 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*/
     margin-bottom: 19rem;
 }
 
-#mentor-resource-create .block_creat_count, #mentor-resource-edit .block_creat_count {
+#mentor-resource-create .block_creat_count, #mentor-resource-edit .block_creat_count,
+#mentor-account-create .block_creat_count, #mentor-account-edit .block_creat_count,
+#entrepreneur-account-create .block_creat_count, #entrepreneur-account-edit .block_creat_count {
     overflow: initial;
+    box-shadow: none;
+}
+
+#mentor-account-edit .block_creat_count:first-of-type,
+#entrepreneur-account-edit .block_creat_count:first-of-type {
+    box-shadow: inherit;
 }
 
 #entrepreneur-request-create sib-set-default[name="complementary_information"] cs-section_header[name="header_complementary"] h2{
-- 
GitLab