From 0dce48c1e25a4ac0d4b7a4cb53c9fa54c81fa766 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 26 Aug 2021 13:44:54 +0200 Subject: Custom markup container default to space between --- client/src/app/shared/shared-custom-markup/custom-markup.service.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client/src/app/shared/shared-custom-markup/custom-markup.service.ts') diff --git a/client/src/app/shared/shared-custom-markup/custom-markup.service.ts b/client/src/app/shared/shared-custom-markup/custom-markup.service.ts index 63f2f76f5..ab640d348 100644 --- a/client/src/app/shared/shared-custom-markup/custom-markup.service.ts +++ b/client/src/app/shared/shared-custom-markup/custom-markup.service.ts @@ -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) } -- cgit v1.2.3