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,13 +3,15 @@
@mixin os-motion-detail-diff-style($theme) { @mixin os-motion-detail-diff-style($theme) {
$background: map-get($theme, background); $background: map-get($theme, background);
.change-recommendation-overview, .motion-text-with-diffs {
.diff-box { .change-recommendation-overview,
background-color: mat-color($background, background); .diff-box {
border: 1px solid mat-color($background, selected-button); background-color: mat-color($background, background);
} border: 1px solid mat-color($background, selected-button);
}
.diff-box:hover { .diff-box:hover {
background-color: mat-color($background, selected-button); 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 { MatDialog } from '@angular/material/dialog';
import { MatSnackBar } from '@angular/material/snack-bar'; import { MatSnackBar } from '@angular/material/snack-bar';
import { Title } from '@angular/platform-browser'; import { Title } from '@angular/platform-browser';
@ -54,7 +54,8 @@ import { ViewMotionAmendedParagraph } from '../../../../models/view-motion-amend
@Component({ @Component({
selector: 'os-motion-detail-diff', selector: 'os-motion-detail-diff',
templateUrl: './motion-detail-diff.component.html', 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 { export class MotionDetailDiffComponent extends BaseViewComponent implements AfterViewInit {
/** /**

View File

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