最近搜索


没有最近搜索

Christen Bejar's Avatar

Christen Bejar

已加入2021年4月15日

·

最后活动2022年2月14日

关注

0

关注者

0

活动总数

27

投票

7

订阅

14

活动概览

的最新活动 Christen Bejar

Christen Bejar 进行了评论,

社区评论 Q&A - Help center and community

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 进行了评论,

社区评论 Q&A - Help center and community

Thank you @Jacob, this is definitely a good start for me. Now I can investigate into making it responsive. :)

查看评论 · 已于 2018年5月07日 发布 · Christen Bejar

0

关注者

0

投票

0

评论


Christen Bejar 创建了一个帖子,

帖子 Q&A - Help center and community

 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 进行了评论,

社区评论 Discussion - Tips and best practices from the community

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

评论


Christen Bejar 进行了评论,

社区评论 Discussion - Tips and best practices from the community

Holy cow, thank you so much for this article. I was struggling with getting this to work but your super helpful screenshots were exactly what I needed! 

查看评论 · 已于 2018年3月26日 发布 · Christen Bejar

0

关注者

0

投票

0

评论


Christen Bejar 进行了评论,

社区评论 Discussion - Tips and best practices from the community

Thank you for this tip! It's helped a ton!

查看评论 · 已于 2018年3月21日 发布 · Christen Bejar

0

关注者

0

投票

0

评论