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
08c51a75
Commit
08c51a75
authored
1 year ago
by
Georgi
Browse files
Options
Downloads
Patches
Plain Diff
[BUGFIX] Fix read more for single videos
parent
52119aec
No related branches found
Branches containing commit
Tags
6.0.6
Tags containing commit
1 merge request
!9
Feature make standalone
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Resources/Public/JavaScript/Modules/sgVideo.js
+7
-0
7 additions, 0 deletions
Resources/Public/JavaScript/Modules/sgVideo.js
Resources/Public/Sass/Modules/_sg-video.scss
+8
-0
8 additions, 0 deletions
Resources/Public/Sass/Modules/_sg-video.scss
with
15 additions
and
0 deletions
Resources/Public/JavaScript/Modules/sgVideo.js
+
7
−
0
View file @
08c51a75
...
...
@@ -39,6 +39,13 @@ export default class SgVideo {
descriptionSelector
:
'
.sg-video__description
'
,
});
});
document
.
querySelectorAll
(
'
.sg-video--single
'
).
forEach
((
item
)
=>
{
new
SgVideo
(
item
,
{
textSelector
:
'
.sg-video__description
'
,
descriptionSelector
:
'
.sg-video__description
'
,
});
});
}
/**
...
...
This diff is collapsed.
Click to expand it.
Resources/Public/Sass/Modules/_sg-video.scss
+
8
−
0
View file @
08c51a75
...
...
@@ -85,6 +85,14 @@ $sg-video-screen-xs-min: $sg-video-screen-xs;
}
}
&
__read-more
{
padding
:
0
30px
10px
;
display
:
block
;
width
:
100%
;
text-align
:
left
;
margin-top
:
auto
;
}
&
__bodytext
{
padding
:
20px
30px
;
margin-top
:
auto
;
...
...
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