From e7a416b2f9a964fefebdb511ffc095802bc4ee97 Mon Sep 17 00:00:00 2001
From: gaelle morin <gmorin.dev@gmail.com>
Date: Wed, 23 Sep 2020 16:51:45 +0200
Subject: [PATCH] update: dependancies + styles for select

---
 src/dependencies.pug            | 12 ++++++------
 src/styles/base/form.scss       |  5 +----
 src/styles/base/table.scss      | 21 +++++----------------
 src/styles/base/user-thumb.scss |  7 +------
 4 files changed, 13 insertions(+), 32 deletions(-)

diff --git a/src/dependencies.pug b/src/dependencies.pug
index 24ec0b8c..8060f305 100644
--- a/src/dependencies.pug
+++ b/src/dependencies.pug
@@ -19,20 +19,20 @@ if endpoints.events || (endpoints.get && endpoints.get.events)
     //- script(type="module" src="/lib/sib-event/sib-event.js" defer)
 
 if endpoints.joboffers || (endpoints.get && endpoints.get.joboffers)
-    script(type="module" src="https://unpkg.com/@startinblox/component-job-board@beta" defer)
-    //- script(type="module" src="/lib/solid-job-board/dist/index.js" defer)
+    //- script(type="module" src="https://unpkg.com/@startinblox/component-job-board@beta" defer)
+    script(type="module" src="/lib/solid-job-board/dist/index.js" defer)
 
 if (endpoints.uploads || (endpoints.get && endpoints.get.uploads)) && (endpoints.skills || (endpoints.get && endpoints.get.skills)) && (endpoints.users || (endpoints.get && endpoints.get.users))
-    script(type="module" src="https://unpkg.com/@startinblox/component-directory@beta" defer)
-    //- script(type="module" src="/lib/solid-directory/dist/index.js" defer)
+    //- script(type="module" src="https://unpkg.com/@startinblox/component-directory@beta" defer)
+    script(type="module" src="/lib/solid-directory/dist/index.js" defer)
 
 if endpoints.dashboards || (endpoints.get && endpoints.get.dashboards)
     script(type="module" src="https://unpkg.com/@startinblox/component-dashboard@beta" defer)
     //- script(type="module" src="/lib/solid-dashboard/dist/index.js" defer)
 
 if endpoints.users || (endpoints.get && endpoints.get.users)
-    script(type="module" src="https://unpkg.com/@startinblox/component-chat@beta" defer)
-    //- script(type="module" src="/lib/solid-xmpp-chat/dist/index.js" defer)
+    //- script(type="module" src="https://unpkg.com/@startinblox/component-chat@beta" defer)
+    script(type="module" src="/lib/solid-xmpp-chat/dist/index.js" defer)
 
 script(src="/scripts/index.js" defer)
 
diff --git a/src/styles/base/form.scss b/src/styles/base/form.scss
index 86e89b78..de97e77e 100644
--- a/src/styles/base/form.scss
+++ b/src/styles/base/form.scss
@@ -132,12 +132,9 @@ solid-form-dropdown-autocompletion-label,
 solid-form-multipleselect-autocompletion-label,
 hubl-status {
 
-  label {
-    display: none;
-  }
-
   .ss-main {
     font-weight: normal;
+    margin-top: 0.8rem;
     text-transform: none;
   
 
diff --git a/src/styles/base/table.scss b/src/styles/base/table.scss
index 0272915e..c82e4c55 100644
--- a/src/styles/base/table.scss
+++ b/src/styles/base/table.scss
@@ -168,22 +168,11 @@
 
 /* Styles of elements inside cells */
 
-[name='user-thumb'] {
-  vertical-align: middle;
-  text-align: left;
-  @extend %user-thumb__grid;
-  padding: 0 2.2rem;
-
-  >.user-thumb__picture {
-    @extend .user-thumb__picture;
-  }
-
-  >[name='sup'] {
-    @extend %user-thumb__grid-sup;
-  }
-
-  >[name='sub'] {
-    @extend %user-thumb__grid-inf;
+.table {
+  
+  .user-thumb.is-spaced,
+  [name='user-thumb'] {
+    padding: 0.8rem 2.2rem;
   }
 }
 
diff --git a/src/styles/base/user-thumb.scss b/src/styles/base/user-thumb.scss
index 7d7166b9..394e5e7d 100644
--- a/src/styles/base/user-thumb.scss
+++ b/src/styles/base/user-thumb.scss
@@ -35,6 +35,7 @@
   color: var(--color-user-thumb-name);
   font-weight: 600;
   margin-right: 1rem;
+  text-align: left;
 }
 
 .user-thumb__admin:not(:empty) {
@@ -91,9 +92,3 @@
     @extend %user-thumb__grid-inf;
   }
 }
-
-/* Add extra spaces to user-thumbs that are inside a table */
-.user-thumb.is-spaced,
-[name='user-thumb'] {
-  padding: 0.8rem 2.2rem;
-}
-- 
GitLab