Css tumblr单个后嵌入溢出div

Css tumblr单个后嵌入溢出div,css,embed,lightbox,tumblr,Css,Embed,Lightbox,Tumblr,我试图将tumblr提供的PostEmbeddes添加到各个灯箱/弹出窗口中。这是非常有效的,但是问题是有时嵌入会溢出div.lighters,但会保留在div#cboxLoadedContent中 我不知道在这种情况下什么是相关代码,但我会尽我所能 HTML 博客是,你需要点击代码标签,滚动到底部,点击“鸟”主题的“更多” 提前感谢感谢马特·斯蒂芬斯,我将最大高度从.lighters移到了#cboxLoadedContent的样式,现在工作正常。感谢马特·斯蒂芬斯,我将最大高度从.lighte

我试图将tumblr提供的PostEmbeddes添加到各个灯箱/弹出窗口中。这是非常有效的,但是问题是有时嵌入会溢出div.lighters,但会保留在div#cboxLoadedContent中

我不知道在这种情况下什么是相关代码,但我会尽我所能

HTML

博客是,你需要点击代码标签,滚动到底部,点击“鸟”主题的“更多”


提前感谢

感谢马特·斯蒂芬斯,我将最大高度从
.lighters
移到了
#cboxLoadedContent
的样式,现在工作正常。

感谢马特·斯蒂芬斯,我将最大高度从
.lighters
移到了
#cboxLoadedContent
的样式,现在工作正常很好。

删除
上的
最大高度
。打火机
似乎为我解决了问题。谢谢@MattStephens-我将最大高度移到了#cboxLoadedContent的样式上,一切都解决了!再次感谢您删除
上的
最大高度
。打火机
似乎为我解决了问题谢谢@MattStephens-我将最大高度移到了#cboxLoadedContent的样式上,而且它都解决了!再次感谢
<div style="display:none;">
...
    <div id="bird" class="lighters">
        <div class="tumblr-post" data-href="https://embed.tumblr.com/embed/post/rmk5cWt002YFR1zbW4hp6w/115015084199" data-did="74b578aacc18a67bdeab9220d4b3ca90d1897f21"><a href="http://bychloethemes.tumblr.com/post/115015084199/bird-theme-made-by-chloe-themes-preview-1">http://bychloethemes.tumblr.com/post/115015084199/bird-theme-made-by-chloe-themes-preview-1</a></div><script async src="https://secure.assets.tumblr.com/post.js"></script>
    </div>
</div>
<div id="cboxLoadedContent">
    <div id="bird" class="lighters">
        <div class="tumblr-post" data-href="https://embed.tumblr.com/embed/post/rmk5cWt002YFR1zbW4hp6w/115015084199" data-did="74b578aacc18a67bdeab9220d4b3ca90d1897f21"><a href="http://bychloethemes.tumblr.com/post/115015084199/bird-theme-made-by-chloe-themes-preview-1">http://bychloethemes.tumblr.com/post/115015084199/bird-theme-made-by-chloe-themes-preview-1</a></div><script async src="https://secure.assets.tumblr.com/post.js"></script>
    </div>
</div>
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
#cboxWrapper {max-width:none;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
.cboxIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;}
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}
/*----Change below here-------*/
#cboxOverlay{background:#daf6f0;}
#colorbox{outline:0;}
#cboxContent{;background:#000;}
.cboxIframe{background:#fff;}
#cboxLoadedContent{border:5px solid #000; background:#fff;}
#cboxCurrent{position:absolute; top:-20px; right:0px; color:#ccc;}
#cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
#cboxClose{position:absolute; top:15px; right:5px; display:block; width:38px; height:19px;z-index:99999;color:#000;font-size:20px;}
#cboxClose:hover{color:#f00;}
.cboxPhoto {width:500px;}
.lighters {padding:20px; background:#fff;max-height:500px;overflow-y:auto;}