Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sg_youtube
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TYPO3
sg_youtube
Commits
0f614ecf
Commit
0f614ecf
authored
1 year ago
by
Stefan Galinski
Browse files
Options
Downloads
Patches
Plain Diff
[BUGFIX] Fix totally broken playlist grid
parent
9e3591ab
No related branches found
Branches containing commit
Tags
6.0.6
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Resources/Private/Templates/Youtube/Index.html
+13
-11
13 additions, 11 deletions
Resources/Private/Templates/Youtube/Index.html
Resources/Public/Sass/Modules/_sg-video.scss
+18
-17
18 additions, 17 deletions
Resources/Public/Sass/Modules/_sg-video.scss
with
31 additions
and
28 deletions
Resources/Private/Templates/Youtube/Index.html
+
13
−
11
View file @
0f614ecf
...
...
@@ -89,17 +89,19 @@
}"
/>
</div>
<ul
class=
"sg-video__list sg-video__list--playlist"
>
<f:for
each=
"{feed}"
as=
"feedItem"
iteration=
"feedIterator"
>
<f:if
condition=
"!{feedIterator.isFirst}"
>
<li
class=
"sg-video__list-item"
>
<f:render
section=
"videoItem"
arguments=
"{
feed: feed,
feedItem: feedItem,
titleChars: settings.maxTitleChars,
descChars: settings.maxDescriptionChars }"
/>
</li>
</f:if>
</f:for>
<div>
<f:for
each=
"{feed}"
as=
"feedItem"
iteration=
"feedIterator"
>
<f:if
condition=
"!{feedIterator.isFirst}"
>
<li
class=
"sg-video__list-item"
>
<f:render
section=
"videoItem"
arguments=
"{
feed: feed,
feedItem: feedItem,
titleChars: settings.maxTitleChars,
descChars: settings.maxDescriptionChars }"
/>
</li>
</f:if>
</f:for>
</div>
</ul>
</f:section>
...
...
This diff is collapsed.
Click to expand it.
Resources/Public/Sass/Modules/_sg-video.scss
+
18
−
17
View file @
0f614ecf
...
...
@@ -174,35 +174,36 @@ $sg-video-screen-xs-min: $sg-video-screen-xs;
&
--playlist
{
@media
(
min-width
:
$sg-video-screen-lg
)
{
display
:
grid
;
gap
:
20px
;
grid-template-columns
:
70%
auto
;
position
:
relative
;
}
}
&
__list--playlist
{
overflow
:
auto
;
display
:
flex
;
flex-direction
:
row
;
position
:
relative
;
@media
(
max-width
:
$sg-video-screen-md-max
)
{
.sg-video__image
{
width
:
auto
;
max-height
:
180px
;
>
div
{
@media
(
max-width
:
$sg-video-screen-md-max
)
{
.sg-video__image
{
width
:
auto
;
max-height
:
180px
;
}
}
}
@media
(
min-width
:
$sg-video-screen-lg
)
{
position
:
absolute
;
right
:
0
;
height
:
100%
;
width
:
28%
;
flex-direction
:
column
;
flex-grow
:
1
;
justify-content
:
space-between
;
.sg-video__list-item
:not
(
:last-child
)
{
margin-bottom
:
15px
;
@media
(
min-width
:
$sg-video-screen-lg
)
{
position
:
absolute
;
height
:
100%
;
overflow-y
:
auto
;
flex-direction
:
column
;
flex-grow
:
1
;
justify-content
:
space-between
;
.sg-video__list-item
:not
(
:last-child
)
{
margin-bottom
:
15px
;
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment