-
Addison Hall
Unless I’m overlooking something, it appears that creating a container link with “Link Type” set to “Wrapper” will force the anchor element to display:block. This prevents the new global styles application from defining the display property.
For example, I can create a style for the container:
.card__link { display: flex; align-items: flex-start; flex-direction: column; justify-content: flex-start; position: relative; }
But the auto-generated display property overrides it:
.gb-container-ebcc212f { display: block; }
Is this the intended behavior?
BTW, this update is AMAZING. I’m loving it.
-
Hi there,
Glad you are happy with the new update!
Yes, GB adds the
display:block
to the wrapper type container link to make it work if it doesn’t detect anydisplay
attribute being set for the local block, but it does not check the global style unfortunately.A workaround is to set the
display
value for the local container, even a global style is applied.I’ll mark this as improvement for the dev team, maybe it can get fixed, maybe not, we’ll see 🙂
-
Addison Hall
Thank you, Ying. I can work around it — I thought I had potentially found a bug. Thanks for your help!
-Addison
-
You are welcome and thanks for reporting this, we will have a discussion to see if it can be improved 🙂
- You must be logged in to reply to this topic.