diff options
author | Chocobozzz <me@florianbigard.com> | 2021-08-26 13:44:54 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-08-26 13:44:54 +0200 |
commit | 0dce48c1e25a4ac0d4b7a4cb53c9fa54c81fa766 (patch) | |
tree | 20930d56bdb65838c80d5aa57149be205e5e2560 /client/src/app/shared | |
parent | 8e72210829368aeb831f13b66a31ffbe5bf35272 (diff) | |
download | PeerTube-0dce48c1e25a4ac0d4b7a4cb53c9fa54c81fa766.tar.gz PeerTube-0dce48c1e25a4ac0d4b7a4cb53c9fa54c81fa766.tar.zst PeerTube-0dce48c1e25a4ac0d4b7a4cb53c9fa54c81fa766.zip |
Custom markup container default to space between
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/shared-custom-markup/custom-markup.service.ts | 2 |
1 files changed, 2 insertions, 0 deletions
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 { | |||
217 | 217 | ||
218 | root.classList.add('peertube-container', layoutClass) | 218 | root.classList.add('peertube-container', layoutClass) |
219 | 219 | ||
220 | root.style.justifyContent = data.justifyContent || 'space-between' | ||
221 | |||
220 | if (data.width) { | 222 | if (data.width) { |
221 | root.setAttribute('width', data.width) | 223 | root.setAttribute('width', data.width) |
222 | } | 224 | } |