Skip to content
Advertisement

How to align the panel heading (left) and the panel to be equidistant from both sides in bootstrap

Actually I am trying to get the output as shown in the image, but unable to find the right edits in the tag.

To be achieved

So far I have tried to create most of the webpage and achieved this present situation So as you can see the panel heading and the panel alignment is not same as the one in the previous picture.

present situation

JavaScript

Advertisement

Answer

I think you just need to enclose the Execution Log Information in a panel-body division so it has the same spacing, and then adjust the padding for the ul on the left, the new panel-body on the bottom, and the h2 tag’s bottom margin, all to 0.

JavaScript

For reference, you’re using Bootstrap 3, so the tag probably should be twitter-bootstrap-3, rather than Bootstrap-4.

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement