kirby-fields-block icon indicating copy to clipboard operation
kirby-fields-block copied to clipboard

Writer field in combination with Kirby-Field-Block resolves in 'invisible' options

Open ceesvanegmond opened this issue 3 years ago • 3 comments

Hello,

When using the writer field in a block preview; not all options are visible. Probably a z-index? I cannot seem to debug it properly because whenever I want to inspect something the whole <div> disappears.

Screenshot_2023-03-23_at_12 34 51 Screenshot 2023-03-27 at 11 16 42

ceesvanegmond avatar Mar 27 '23 09:03 ceesvanegmond

Hey, thanks for flagging. Heads up, I am quite busy with other projects and won't be able to look into this for some time. Let me know if you track anything down.

p.s. Looks like this functionality will be part of core in an upcoming release of Kirby, so perhaps you can make-do until then!

jongacnik avatar Mar 27 '23 19:03 jongacnik

@jongacnik It seems that it's an overflow problem. Adding this css in my panel.css seems to fix it but I don't know if this will harm something else within the package.

.k-block-fields-preview {
    overflow: visible !important;
}

We could remove the overflow property on .k-block-fields-preview; that seems to fix it.

ceesvanegmond avatar Mar 31 '23 18:03 ceesvanegmond

https://github.com/jongacnik/kirby-fields-block/pull/19

ceesvanegmond avatar Mar 31 '23 18:03 ceesvanegmond