js & css: more width for video-resources when playing
This commit is contained in:
parent
03cc89892c
commit
bd8f48c4af
|
@ -55,6 +55,13 @@ function addButton(container, res) {
|
|||
button.remove();
|
||||
|
||||
addPlayer(container, res);
|
||||
|
||||
var section = container.parents().
|
||||
filter(function() {
|
||||
return $(this).hasClass('video-resource');
|
||||
})[0];
|
||||
if (section)
|
||||
$(section).addClass("playing");
|
||||
});
|
||||
container.append(button);
|
||||
}
|
||||
|
|
|
@ -688,6 +688,9 @@ li audio, li video, li .poster {
|
|||
display: inline-block;
|
||||
text-align: center;
|
||||
}
|
||||
.video-resource.playing {
|
||||
width: auto;
|
||||
}
|
||||
.video-resource h4 {
|
||||
line-height: 1em;
|
||||
height: 2em;
|
||||
|
|
Loading…
Reference in New Issue