From 4cb8009c69dc4d8e9dc11fea2a4e47b84933d9a3 Mon Sep 17 00:00:00 2001 From: Sercan Yemen Date: Mon, 13 Nov 2017 10:36:32 +0300 Subject: [PATCH] Scrumboard label selector not working correctly + style refinements --- .../label-selector.component.html | 26 ++++++++-------- .../label-selector.component.scss | 31 +++++++++++++++++++ 2 files changed, 44 insertions(+), 13 deletions(-) diff --git a/src/app/main/content/apps/scrumboard/board/dialogs/card/label-selector/label-selector.component.html b/src/app/main/content/apps/scrumboard/board/dialogs/card/label-selector/label-selector.component.html index d3a19e64..0326b54f 100644 --- a/src/app/main/content/apps/scrumboard/board/dialogs/card/label-selector/label-selector.component.html +++ b/src/app/main/content/apps/scrumboard/board/dialogs/card/label-selector/label-selector.component.html @@ -1,8 +1,8 @@
-
+
-
+
Labels
+
Edit Label
-
+
@@ -46,26 +46,26 @@
-
+
-
-
Add Label
+
+
Add Label
-
+
- +
- +
diff --git a/src/app/main/content/apps/scrumboard/board/dialogs/card/label-selector/label-selector.component.scss b/src/app/main/content/apps/scrumboard/board/dialogs/card/label-selector/label-selector.component.scss index ff96a72e..ea65ab35 100644 --- a/src/app/main/content/apps/scrumboard/board/dialogs/card/label-selector/label-selector.component.scss +++ b/src/app/main/content/apps/scrumboard/board/dialogs/card/label-selector/label-selector.component.scss @@ -30,6 +30,37 @@ > .header { border-bottom: 1px solid rgba(0, 0, 0, 0.1); + padding: 4px 8px 8px 16px; + margin-bottom: 8px; + } + + .label { + margin: 0 8px 8px 8px; + padding: 4px 4px 4px 16px; + } + + &.edit, + &.add { + + > .header { + padding: 0 8px 8px 0; + } + + form { + padding: 0 16px 8px 16px; + + .mat-form-field-infix { + width: auto !important; + } + } + + .content { + padding: 8px 16px 8px 16px; + + .mat-form-field-infix { + width: auto !important; + } + } } } }