Fix peertube container in markdown preview
This commit is contained in:
parent
d4a8e7a65f
commit
24893b524c
|
@ -1,24 +0,0 @@
|
||||||
.custom-markup-container {
|
|
||||||
|
|
||||||
::ng-deep .peertube-container {
|
|
||||||
|
|
||||||
&.layout-row {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.layout-column {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header {
|
|
||||||
margin: 30px 0 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
h4 {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -3,8 +3,7 @@ import { CustomMarkupService } from './custom-markup.service'
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'my-custom-markup-container',
|
selector: 'my-custom-markup-container',
|
||||||
templateUrl: './custom-markup-container.component.html',
|
templateUrl: './custom-markup-container.component.html'
|
||||||
styleUrls: [ './custom-markup-container.component.scss' ]
|
|
||||||
})
|
})
|
||||||
export class CustomMarkupContainerComponent implements OnChanges {
|
export class CustomMarkupContainerComponent implements OnChanges {
|
||||||
@ViewChild('contentWrapper') contentWrapper: ElementRef<HTMLInputElement>
|
@ViewChild('contentWrapper') contentWrapper: ElementRef<HTMLInputElement>
|
||||||
|
|
|
@ -11,6 +11,8 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/';
|
||||||
|
|
||||||
@use './classes';
|
@use './classes';
|
||||||
|
|
||||||
|
@use './custom-markup';
|
||||||
|
|
||||||
[hidden] {
|
[hidden] {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
20
client/src/sass/custom-markup.scss
Normal file
20
client/src/sass/custom-markup.scss
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
peertube-container {
|
||||||
|
> .layout-row {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
> .layout-column {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
> .header {
|
||||||
|
margin: 30px 0 15px;
|
||||||
|
|
||||||
|
> h4 {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user