Custom markup container default to space between
This commit is contained in:
parent
8e72210829
commit
0dce48c1e2
|
@ -217,6 +217,8 @@ export class CustomMarkupService {
|
|||
|
||||
root.classList.add('peertube-container', layoutClass)
|
||||
|
||||
root.style.justifyContent = data.justifyContent || 'space-between'
|
||||
|
||||
if (data.width) {
|
||||
root.setAttribute('width', data.width)
|
||||
}
|
||||
|
|
|
@ -53,4 +53,6 @@ export type ContainerMarkupData = {
|
|||
title?: string
|
||||
description?: string
|
||||
layout?: 'row' | 'column'
|
||||
|
||||
justifyContent?: 'space-between' | 'normal' // default to 'space-between'
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue