Hide diff-box in projector

This commit is contained in:
Sean 2020-09-17 15:40:43 +02:00
parent 1a0e017f80
commit a42205e47f
3 changed files with 14 additions and 11 deletions

View File

@ -3,6 +3,7 @@
@mixin os-motion-detail-diff-style($theme) {
$background: map-get($theme, background);
.motion-text-with-diffs {
.change-recommendation-overview,
.diff-box {
background-color: mat-color($background, background);
@ -13,3 +14,4 @@
background-color: mat-color($background, selected-button);
}
}
}

View File

@ -1,4 +1,4 @@
import { AfterViewInit, Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { AfterViewInit, Component, ElementRef, EventEmitter, Input, Output, ViewEncapsulation } from '@angular/core';
import { MatDialog } from '@angular/material/dialog';
import { MatSnackBar } from '@angular/material/snack-bar';
import { Title } from '@angular/platform-browser';
@ -54,7 +54,8 @@ import { ViewMotionAmendedParagraph } from '../../../../models/view-motion-amend
@Component({
selector: 'os-motion-detail-diff',
templateUrl: './motion-detail-diff.component.html',
styleUrls: ['./motion-detail-diff.component.scss']
styleUrls: ['./motion-detail-diff.component.scss'],
encapsulation: ViewEncapsulation.None
})
export class MotionDetailDiffComponent extends BaseViewComponent implements AfterViewInit {
/**

View File

@ -67,8 +67,8 @@
&.line-numbers-outside {
.os-line-number {
&:after {
top: 17px;
font-size: 16px;
top: 17px !important;
font-size: 16px !important;
}
}
}