最近の検索
最近の検索はありません

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
コメント
Christen Bejarさんがコメントを作成しました: