From 78659f8ce265ad8fbde327a751f42fa52d2ae09c Mon Sep 17 00:00:00 2001 From: Korbs Date: Sat, 11 Nov 2023 07:35:53 -0500 Subject: [PATCH] Make shorts tab more responsive on channels --- html/channel.ejs | 112 ++++++++++++++++++++++++++++------------------- 1 file changed, 68 insertions(+), 44 deletions(-) diff --git a/html/channel.ejs b/html/channel.ejs index 93ad01b5..37312784 100644 --- a/html/channel.ejs +++ b/html/channel.ejs @@ -333,17 +333,7 @@ text-transform:uppercase; color:#ea9999 !important; } - .s{ -width: 23em; -margin: auto; -margin-left: -3.5em; -display: flex; -flex-direction: column-reverse; -margin-right: -79px; - } - .shorts-title{ - font-family:PokeTube flex,sans-serif;font-weight: 1000;font-stretch: ultra-expanded;position: absolute;margin-bottom: 0.3em;background: #0009;white-space: -moz-pre-wrap !important;white-space: -pre-wrap;white-space: -o-pre-wrap;white-space: pre-wrap;word-wrap: break-word;white-space: -webkit-pre-wrap;word-break: break-all;white-space: normal;width: 12.87em;margin-left: 145px; - } + .channel-page .video-grid { background-color: black; } @@ -1057,42 +1047,76 @@ width: fit-content; <% } %> - -
- - - <% if (Array?.isArray( shorts.videos)) { %> - <% shorts.videos.forEach (x => { %> - - - - - - - <%- x.title %> - - - <% }) %> - <% } %> - - - - - -
- - <% if (shorts?.continuation) { %> -
- Next Page -
- - <% } %> - - <% } %> + + + + + + + + + + + +
+ <% if (Array?.isArray( shorts.videos)) { %> + <% shorts.videos.forEach (x => { %> + + + <%- x.title %> + + <% }) %> + <% } %> +
+ +<% if (shorts?.continuation) { %> +
+ Next Page +
+<% } %> + + + + + + + + + + + + + + + + + + + + + +<% } %> <% if (tab === "live") { %>