Skip to content
Snippets Groups Projects
Commit 08c51a75 authored by Georgi's avatar Georgi
Browse files

[BUGFIX] Fix read more for single videos

parent 52119aec
No related branches found
Tags 6.0.6
1 merge request!9Feature make standalone
......@@ -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',
});
});
}
/**
......
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment