From bc540180dd88a1eb1a9e09c53be43d60e392f35a Mon Sep 17 00:00:00 2001 From: Sean Engelhardt Date: Fri, 18 Sep 2020 16:29:13 +0200 Subject: [PATCH] fix white change-recommendation-overview Fixes a bug where a white or blank change-recommendation-overview appeared --- .../motion-detail-diff.component.html | 428 +++++++++--------- ...tion-detail-diff.component.scss-theme.scss | 2 +- 2 files changed, 216 insertions(+), 214 deletions(-) diff --git a/client/src/app/site/motions/modules/motion-detail/components/motion-detail-diff/motion-detail-diff.component.html b/client/src/app/site/motions/modules/motion-detail/components/motion-detail-diff/motion-detail-diff.component.html index a6f4afa66..0090f247d 100644 --- a/client/src/app/site/motions/modules/motion-detail/components/motion-detail-diff/motion-detail-diff.component.html +++ b/client/src/app/site/motions/modules/motion-detail/components/motion-detail-diff/motion-detail-diff.component.html @@ -1,79 +1,155 @@ -
- {{ 'Summary of changes' | translate }}: +
+
+ {{ 'Summary of changes' | translate }}: - + +
{{ 'No change recommendations yet' | translate }}
+
+ + {{ preamble | translate }} + + +
+
+
+
+ +
+
+ {{ 'Rejected' | translate }} +
-
{{ 'No change recommendations yet' | translate }}
-
- -{{ preamble | translate }} - - -
-
-
-
- +
{{ 'Changed title' | translate }}:
+
+
-
- {{ 'Rejected' | translate }} -
- +
+
-
{{ 'Changed title' | translate }}:
-
+ +
+ +
+
+ warning +
+
+ + + +
+
+ {{ 'Rejected' | translate }} +
+ + +
+ {{ change.amendment.identifier }} - {{ change.amendment.state.name | translate }} +
+ +
-
-
+
- -
-
- warning -
-
- - - - -
-
- {{ 'Rejected' | translate }} -
- - -
- {{ change.amendment.identifier }} - {{ change.amendment.state.name | translate }} -
- -
-
-
- -
+ + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/src/app/site/motions/modules/motion-detail/components/motion-detail-diff/motion-detail-diff.component.scss-theme.scss b/client/src/app/site/motions/modules/motion-detail/components/motion-detail-diff/motion-detail-diff.component.scss-theme.scss index 9ce9a2ab8..ce56453a7 100644 --- a/client/src/app/site/motions/modules/motion-detail/components/motion-detail-diff/motion-detail-diff.component.scss-theme.scss +++ b/client/src/app/site/motions/modules/motion-detail/components/motion-detail-diff/motion-detail-diff.component.scss-theme.scss @@ -3,7 +3,7 @@ @mixin os-motion-detail-diff-style($theme) { $background: map-get($theme, background); - .motion-text-with-diffs { + .motion-detail-diff { .change-recommendation-overview, .diff-box { background-color: mat-color($background, background);