From c4f7fe09cd014b0ec5c0d64fd320780c45461c06 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 19 Nov 2020 15:57:52 +0100 Subject: Use sass instead of deprecated node sass --- .../+about/about-peertube/about-peertube-contributors.component.scss | 4 ++-- .../+about/about-peertube/about-peertube-contributors.component.ts | 2 +- client/src/app/+about/about-peertube/about-peertube.component.scss | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'client/src/app/+about') diff --git a/client/src/app/+about/about-peertube/about-peertube-contributors.component.scss b/client/src/app/+about/about-peertube/about-peertube-contributors.component.scss index 03e6ce8c8..61b46dcbd 100644 --- a/client/src/app/+about/about-peertube/about-peertube-contributors.component.scss +++ b/client/src/app/+about/about-peertube/about-peertube-contributors.component.scss @@ -10,14 +10,14 @@ text-align: center; } - /deep/ h1 { + ::ng-deep h1 { font-size: 1rem; text-align: center; font-weight: $font-semibold; margin-top: 20px; } - /deep/ ul { + ::ng-deep ul { padding: 0; text-align: center; diff --git a/client/src/app/+about/about-peertube/about-peertube-contributors.component.ts b/client/src/app/+about/about-peertube/about-peertube-contributors.component.ts index da1fcdc92..c45269be4 100644 --- a/client/src/app/+about/about-peertube/about-peertube-contributors.component.ts +++ b/client/src/app/+about/about-peertube/about-peertube-contributors.component.ts @@ -9,7 +9,7 @@ import { MarkdownService } from '@app/core' export class AboutPeertubeContributorsComponent implements OnInit { creditsHtml: string - private markdown = require('raw-loader!../../../../../CREDITS.md') + private markdown = require('raw-loader!../../../../../CREDITS.md').default constructor (private markdownService: MarkdownService) { } diff --git a/client/src/app/+about/about-peertube/about-peertube.component.scss b/client/src/app/+about/about-peertube/about-peertube.component.scss index 4856d4ae5..e67252410 100644 --- a/client/src/app/+about/about-peertube/about-peertube.component.scss +++ b/client/src/app/+about/about-peertube/about-peertube.component.scss @@ -18,7 +18,7 @@ margin: 20px auto; } -/deep/ .section-title { +::ng-deep .section-title { font-weight: $font-semibold; font-size: 20px; margin-bottom: 5px; @@ -44,7 +44,7 @@ .description, .p2p-privacy, my-about-peertube-contributors { - /deep/ { + ::ng-deep { p, li { font-size: 15px; } -- cgit v1.2.3