Skip to content

Commit

Permalink
Improve encapsulation
Browse files Browse the repository at this point in the history
  • Loading branch information
GODrums committed Oct 12, 2024
1 parent 997ccd9 commit 92d60fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion webapp/src/app/core/issue-card/issue-card.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
background: rgb(var(--label-r), var(--label-g), var(--label-b));
border-color: hsla(var(--label-h), calc(var(--label-s) * 1%), calc((var(--label-l) - 25) * 1%), var(--border-alpha));
}
.dark .gh-label {
:host-context(.dark) .gh-label {
--lightness-threshold: 0.6;
--background-alpha: 0.18;
--border-alpha: 0.3;
Expand Down
3 changes: 1 addition & 2 deletions webapp/src/app/core/issue-card/issue-card.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ import { cn } from '@app/utils';
templateUrl: './issue-card.component.html',
imports: [NgIcon, NgStyle],
styleUrls: ['./issue-card.component.scss'],
standalone: true,
encapsulation: ViewEncapsulation.None
standalone: true
})
export class IssueCardComponent {
class = input('');
Expand Down

0 comments on commit 92d60fb

Please sign in to comment.