Adding a new child to a subcontainer pushing away another subcontainer outside of the parent container | Community
Skip to main content
Xena_bcn
Level 5
October 16, 2015
Solved

Adding a new child to a subcontainer pushing away another subcontainer outside of the parent container

  • October 16, 2015
  • 6 replies
  • 1047 views

Hi.

Here is a picture.

So when I add a new Infobox , the 2nd subcontainer (here is Links) is pushed outside of the parent container (the one with a border). [img]infobox.png[/img]

If I delete the 2nd infobox, the 2nd subcontainer comes back to  his original place.

How to fix it? All subcontainers and its relative infoboxes should stay inside the container.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by edubey

Hi,

When you say 2nd subcontainer (here is Links) is pushed outside of the parent container, so do you mean its also behave like its outside ?

As of now to me it seems to be a CSS issue, as you might have fixed height for parent.

Please share a screenshot also where it shows its outside parent border

6 replies

edubey
edubeyAccepted solution
Level 10
October 16, 2015

Hi,

When you say 2nd subcontainer (here is Links) is pushed outside of the parent container, so do you mean its also behave like its outside ?

As of now to me it seems to be a CSS issue, as you might have fixed height for parent.

Please share a screenshot also where it shows its outside parent border

Xena_bcn
Xena_bcnAuthor
Level 5
October 16, 2015

yes so strange I checked style nothing with height

 

here is another SS [img]subcont.png[/img]

edubey
Level 10
October 16, 2015

I am confused with the component hierarchy you have, Can you please elaborate from parent to child.

thanks

Xena_bcn
Xena_bcnAuthor
Level 5
October 16, 2015

okey

Parent:  Infobox container  (an empty div with a border )

it's child: Infobox sub container (a div with heading like Kontakt, Links, Info)

it's child :  Infobox  (doesn't have any children -- all info goes here )

 

Infobox container can have manu subcontainers. and 1 subcontainer also can have many infoboxes.

Xena_bcn
Xena_bcnAuthor
Level 5
October 16, 2015

as you see on images, all edit bars of container components are stacked on top.

edubey
Level 10
October 16, 2015

Not sure whats going, probably need to look at the code for these components