有没有办法让谷歌驱动器选择器显示在自定义模式或 div 中?我有一个模式,用户可以选择多个提供商,例如谷歌,保管箱.该模式包含其中的所有 js 和 css 文件.因此,当我单击 google drive 时,选择器 iframe 嵌入到 body 并在我的模态后面,尽管我的模态 z-index 是 1030 并且选择器 iframe zindex 是 2292.
Is there a way to show the google drive picker to be shown inside a custom modal or a div? I have a modal where there will be multiple providers user can choose e.g. google, dropbox. That modal contains all the js and css files in it. So when I click on google drive the picker iframe is embedded into body and behind my modal, although my modal z-index is 1030 and picker iframe zindex is 2292.
我只是简单地添加了以下CSS:
I simply added the following CSS:
.picker-dialog-bg {
z-index: 20000 !important;
}
.picker-dialog {
z-index: 20001 !important;
}
这篇关于在模式内部/上方显示谷歌选择器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!
如何检查重复的 CSS 规则?How to check for duplicate CSS rules?(如何检查重复的 CSS 规则?)
删除多个文件中的重复 CSS 声明Remove duplicate CSS declarations across multiple files(删除多个文件中的重复 CSS 声明)
从谷歌驱动器打开 htmlopening html from google drive(从谷歌驱动器打开 html)
使用 javascript 将文件从任何人上传到我的谷歌驱Upload file to my google drive from anyone using javascript(使用 javascript 将文件从任何人上传到我的谷歌驱动器)
如何使用 google drive api 使文件可共享How to make the file shareable using google drive api(如何使用 google drive api 使文件可共享)
使用 google-drive-api 将文件插入特定文件夹Insert a file to a particular folder using google-drive-api(使用 google-drive-api 将文件插入特定文件夹)