Style tweak for episode view dialog
This commit is contained in:
parent
be7c60253b
commit
62a3251fb4
|
@ -4156,8 +4156,10 @@ li .ui-state-hover {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
#podcast_episode_dialog {
|
.podcast-episode-dialog {
|
||||||
|
max-width: 50%;
|
||||||
max-height: 50%;
|
max-height: 50%;
|
||||||
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* UI Revamp Video */
|
/* UI Revamp Video */
|
||||||
|
|
|
@ -1327,6 +1327,12 @@ var AIRTIME = (function(AIRTIME) {
|
||||||
height: "auto",
|
height: "auto",
|
||||||
modal: true,
|
modal: true,
|
||||||
resizable: false,
|
resizable: false,
|
||||||
|
dialogClass: "podcast-episode-dialog",
|
||||||
|
open: function () {
|
||||||
|
// Sometimes the dialog scrolls down partway if there are elements that need to render,
|
||||||
|
// like images or video, so scroll it back up on open.
|
||||||
|
$(this).parent().scrollTop(0);
|
||||||
|
},
|
||||||
close: function() {
|
close: function() {
|
||||||
$(this).dialog('destroy').remove();
|
$(this).dialog('destroy').remove();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue