mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-09 15:39:24 +08:00
fix: popover subform not working in public forms (#6157)
This commit is contained in:
parent
ad7a65c3e4
commit
01ea8294ca
@ -193,7 +193,14 @@ export function AdminPublicFormPage() {
|
|||||||
</Dropdown>
|
</Dropdown>
|
||||||
</Space>
|
</Space>
|
||||||
</div>
|
</div>
|
||||||
<div style={{ maxWidth: 800, margin: '100px auto' }}>
|
<div
|
||||||
|
style={{
|
||||||
|
maxWidth: 800,
|
||||||
|
margin: '100px auto',
|
||||||
|
position: 'relative',
|
||||||
|
zIndex: 0 /** create a new z-index context */,
|
||||||
|
}}
|
||||||
|
>
|
||||||
<VariablesProvider
|
<VariablesProvider
|
||||||
filterVariables={(v) => {
|
filterVariables={(v) => {
|
||||||
return !['$user', '$nRole', '$nToken', '$nURLSearchParams'].includes(v.key);
|
return !['$user', '$nRole', '$nToken', '$nURLSearchParams'].includes(v.key);
|
||||||
|
@ -243,7 +243,12 @@ function InternalPublicForm() {
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
style={{ maxWidth: 800, margin: '0 auto' }}
|
style={{
|
||||||
|
maxWidth: 800,
|
||||||
|
margin: '0 auto',
|
||||||
|
position: 'relative',
|
||||||
|
zIndex: 0 /** create a new z-index context */,
|
||||||
|
}}
|
||||||
className={css`
|
className={css`
|
||||||
@media (min-width: 1025px) {
|
@media (min-width: 1025px) {
|
||||||
padding-top: 10vh;
|
padding-top: 10vh;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user