# NO BUG: div flexbox alignment

**URL:** <https://forum.bricksbuilder.io/t/no-bug-div-flexbox-alignment/13292>\
**Category:** Bugs\
**Tags:** v1-8-1\
**Created:** [June 22, 2023, 11:55pm UTC](https://forum.bricksbuilder.io/t/no-bug-div-flexbox-alignment/13292 "2023-06-22T23:55:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jolia](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/j/e68b1a/32.png) [@jolia](https://forum.bricksbuilder.io/u/jolia)\
**Post date:** [June 22, 2023, 11:55pm UTC](https://forum.bricksbuilder.io/t/no-bug-div-flexbox-alignment/13292/1 "2023-06-22T23:55:07Z")

</div>

**Browser** : Chrome 114  
**OS** : Windows

Hello team.

In theme style \> div element, I set display to flex. In canvas, when I set the orientation in the div element to vertical, the widgets inside the div become full width. While this problem does not exist in other elements such as sections, block and container.

> **[Div element.mp4](https://drive.google.com/file/d/1cWRH-rYHG9lst_NpLobwmIR9CUU3kLNL/view?usp=sharing)**
>
> Google Drive file.

---

<div class="post-metadata">

**Author:** ![aslotta](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/aslotta/32/5419_2.png) [@aslotta](https://forum.bricksbuilder.io/u/aslotta)\
**Post date:** [June 23, 2023, 7:01am UTC](https://forum.bricksbuilder.io/t/no-bug-div-flexbox-alignment/13292/2 "2023-06-23T07:01:08Z")

</div>

Hey @jolia,

thanks for your report.

However, I don’t see any bug here as this is normal flexbox behavior:

![CleanShot 2023-06-23 at 09.00.08](https://forum.bricksbuilder.io/uploads/default/original/2X/1/1e971b9053ab300d6d4bb99f393f514fa86cd679.gif)

You can adjust this using the alignment controls.

Best,

André
