最近搜索
没有最近搜索

Christen Bejar
已加入2021年4月15日
·
最后活动2022年2月14日
关注
0
关注者
0
活动总数
27
投票
7
订阅
14
活动概览
标记
文章
帖子
社区评论
文章评论
活动概览
的最新活动 Christen Bejar
Christen Bejar 进行了评论,
I ended up finding a bit of CSS online that made this work.
Note: pretty sure this is reliant on allowing unsafe content, I haven't tested otherwise.
For the Google Slides iframe container, I modified the HTML within the article directly:
Note: The Google Slides width and height are intentionally removed. It gets expanded by the CSS.
In the style.css, I went ahead and added this piece to the bottom:
/* responsive slidesframe */
.intrinsic-container {
position: relative;
height: 0;
overflow: hidden;
}
/* 16x9 Aspect Ratio */
.intrinsic-container-16x9 {
padding-bottom: 56.25%;
}
/* 4x3 Aspect Ratio */
.intrinsic-container-4x3 {
padding-bottom: 75%;
}
.intrinsic-container iframe {
position: absolute;
top:0;
left: 0;
width: 100%;
height: 100%;
}
Published both and it looks to be working. Props to https://benmarshall.me/responsive-iframes/ where I originally found the code changes.
Thanks everyone for the assistance, and if anyone manages to find a solution to this without allowing unsafe content, let me know!
查看评论 · 已于 2018年5月08日 发布 · Christen Bejar
0
关注者
0
投票
0
评论
Christen Bejar 创建了一个帖子,
Is there any way to create a slideshow in Guide articles? We have some content that requires alot of photos, but it would be easier to collapse them into a clickthrough slideshow than stacking and making the page huge.
已于 2018年5月04日 发布 · Christen Bejar
0
关注者
8
投票
7
评论
Christen Bejar 进行了评论,
Thank you for this! So far it's running ok, but I had a couple of questions.
In my testing, I noticed the alignment is off. Does anyone know which CSS item is this affecting? I'm having a bit of a time narrowing it down. EDIT: Nevermind, I realized it was because the alert article was a tad long and pushing the text weirdly.
Also, I noticed that regardless of the article being published or not, the label will still generate an alert. I just wanted to confirm if this was as designed. Removing a label vs. unpublishing an article is about the same effort for me, just helps to know I installed it correctly.
Thank you again for maintaining this wonderful addition!
查看评论 · 已于 2018年4月02日 发布 · Christen Bejar
0
关注者
0
投票
0
评论