Skip to content

Commit

Permalink
fix: Enable view encapsulation for notice component
Browse files Browse the repository at this point in the history
The warning class of the notice component interfered with the session iframe,
resulting in black text in the status message of the session.
  • Loading branch information
MoritzWeber0 committed Nov 20, 2024
1 parent 948773d commit a3580e4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/src/app/general/notice/notice.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@
* SPDX-License-Identifier: Apache-2.0
*/
import { AsyncPipe, NgClass } from '@angular/common';
import { Component, ViewEncapsulation } from '@angular/core';
import { Component } from '@angular/core';
import { NoticeWrapperService } from 'src/app/general/notice/notice.service';

@Component({
selector: 'app-notice',
templateUrl: './notice.component.html',
styleUrls: ['./notice.component.css'],
encapsulation: ViewEncapsulation.None,
standalone: true,
imports: [NgClass, AsyncPipe],
})
Expand Down

0 comments on commit a3580e4

Please sign in to comment.