From eda358c58f1d65f394723dd81e378a66f03380d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adina=20=C8=9Aeudan?= Date: Wed, 20 Jan 2021 17:28:30 +0200 Subject: [PATCH] Scrollbar fixes for right containers --- .../simple-doughnut-chart.component.html | 3 +-- .../simple-doughnut-chart.component.scss | 1 + .../status-bar/status-bar.component.html | 4 ++-- .../status-bar/status-bar.component.scss | 1 + .../components/status-bar/status-bar.component.ts | 3 --- .../dictionary-listing-screen.component.html | 2 +- .../dictionary-listing-screen.component.scss | 10 +++------- .../watermark-screen.component.html | 2 +- .../watermark-screen.component.scss | 4 ++++ .../project-listing-screen.component.html | 2 +- .../project-listing-screen.component.scss | 5 +++++ .../project-overview-screen.component.html | 2 +- .../project-overview-screen.component.scss | 14 +++----------- 13 files changed, 24 insertions(+), 29 deletions(-) diff --git a/apps/red-ui/src/app/components/simple-doughnut-chart/simple-doughnut-chart.component.html b/apps/red-ui/src/app/components/simple-doughnut-chart/simple-doughnut-chart.component.html index 3be8e3cd5..45e9e83fc 100644 --- a/apps/red-ui/src/app/components/simple-doughnut-chart/simple-doughnut-chart.component.html +++ b/apps/red-ui/src/app/components/simple-doughnut-chart/simple-doughnut-chart.component.html @@ -1,5 +1,5 @@
- + -
+
-
{{ rect.label }}
+
{{ rect.label }}
diff --git a/apps/red-ui/src/app/components/status-bar/status-bar.component.scss b/apps/red-ui/src/app/components/status-bar/status-bar.component.scss index 92523436c..267368096 100644 --- a/apps/red-ui/src/app/components/status-bar/status-bar.component.scss +++ b/apps/red-ui/src/app/components/status-bar/status-bar.component.scss @@ -9,6 +9,7 @@ &.small { .rectangle { width: 12px; + min-width: 12px; } .section-wrapper { diff --git a/apps/red-ui/src/app/components/status-bar/status-bar.component.ts b/apps/red-ui/src/app/components/status-bar/status-bar.component.ts index 187b78517..0ef84ee55 100644 --- a/apps/red-ui/src/app/components/status-bar/status-bar.component.ts +++ b/apps/red-ui/src/app/components/status-bar/status-bar.component.ts @@ -18,9 +18,6 @@ export class StatusBarComponent implements OnInit { @Input() public small = false; - @Input() - public labelClass = ''; - constructor() {} ngOnInit(): void {} diff --git a/apps/red-ui/src/app/screens/admin/dictionary-listing-screen/dictionary-listing-screen.component.html b/apps/red-ui/src/app/screens/admin/dictionary-listing-screen/dictionary-listing-screen.component.html index 2b7a4a244..4ccb548bb 100644 --- a/apps/red-ui/src/app/screens/admin/dictionary-listing-screen/dictionary-listing-screen.component.html +++ b/apps/red-ui/src/app/screens/admin/dictionary-listing-screen/dictionary-listing-screen.component.html @@ -159,7 +159,7 @@
-
+
div { - min-width: 353px; - } + &.has-scrollbar:hover { + padding-right: 9px; } } diff --git a/apps/red-ui/src/app/screens/admin/watermark-screen/watermark-screen.component.html b/apps/red-ui/src/app/screens/admin/watermark-screen/watermark-screen.component.html index f87f43b31..04740a669 100644 --- a/apps/red-ui/src/app/screens/admin/watermark-screen/watermark-screen.component.html +++ b/apps/red-ui/src/app/screens/admin/watermark-screen/watermark-screen.component.html @@ -32,7 +32,7 @@
-
+
diff --git a/apps/red-ui/src/app/screens/admin/watermark-screen/watermark-screen.component.scss b/apps/red-ui/src/app/screens/admin/watermark-screen/watermark-screen.component.scss index 83a0dfc62..11ec399f5 100644 --- a/apps/red-ui/src/app/screens/admin/watermark-screen/watermark-screen.component.scss +++ b/apps/red-ui/src/app/screens/admin/watermark-screen/watermark-screen.component.scss @@ -26,6 +26,10 @@ border-left: none; border-right: 1px solid $separator; + &.has-scrollbar:hover { + padding-right: 13px; + } + .heading-xl { margin-bottom: 24px; } diff --git a/apps/red-ui/src/app/screens/project-listing-screen/project-listing-screen.component.html b/apps/red-ui/src/app/screens/project-listing-screen/project-listing-screen.component.html index bc9d453c2..0e65ec6b1 100644 --- a/apps/red-ui/src/app/screens/project-listing-screen/project-listing-screen.component.html +++ b/apps/red-ui/src/app/screens/project-listing-screen/project-listing-screen.component.html @@ -116,7 +116,7 @@
-
+
-
+