From a76ca019b39d83cba6a2ee8515af43becfb2e4be Mon Sep 17 00:00:00 2001 From: Sebastian Date: Thu, 14 Nov 2019 19:37:38 +0100 Subject: [PATCH] Layout fixes. --- .../rules/pages/rules/rule.component.html | 4 ++-- .../shared/components/asset.component.scss | 2 ++ .../components/schema-category.component.html | 22 +++++++++++-------- .../components/schema-category.component.scss | 4 ++-- frontend/app/theme/_vars.scss | 2 +- 5 files changed, 20 insertions(+), 14 deletions(-) diff --git a/frontend/app/features/rules/pages/rules/rule.component.html b/frontend/app/features/rules/pages/rules/rule.component.html index c91bfc84b..38fd856d3 100644 --- a/frontend/app/features/rules/pages/rules/rule.component.html +++ b/frontend/app/features/rules/pages/rules/rule.component.html @@ -24,7 +24,7 @@
-
+

If

@@ -32,7 +32,7 @@
-
+

then

diff --git a/frontend/app/shared/components/asset.component.scss b/frontend/app/shared/components/asset.component.scss index 0aa1b7b3c..9cd1d5483 100644 --- a/frontend/app/shared/components/asset.component.scss +++ b/frontend/app/shared/components/asset.component.scss @@ -57,6 +57,8 @@ $list-height: 2.375rem; & { @include overlay-container; width: $asset-width; + border-top-width: 1px; + border-width: 1px; } &-body, diff --git a/frontend/app/shared/components/schema-category.component.html b/frontend/app/shared/components/schema-category.component.html index ba0f0e478..c7639462d 100644 --- a/frontend/app/shared/components/schema-category.component.html +++ b/frontend/app/shared/components/schema-category.component.html @@ -5,15 +5,19 @@ (cdkDropListDropped)="changeCategory($event)">
- - -

{{schemaCategory.name}} ({{snapshot.filtered.length}})

- - +
+
+ +
+
+

{{schemaCategory.name}}

+
+
+ ({{snapshot.filtered.length}}) +
+