WIP: Icon: display property should apply to the link

Browser: Chrome 110
OS: macOS / Windows / Linux / etc.
URL: Link to a page that illustrates this issue
Video: Short screen recording that illustrates this issue (free tool: jam.dev)

Hello bricks team,

Please paste the following structure into a page. In the builder it is displayed as space between which is correct. But in the builder the top row does not look as expected. In the top row, icons are used between the three buttons. But in the bottom row, image elements are used. Icons and images have links and their display is set to none on landscape mobile.

But if you look at it on the frontend, it seems that the icons are not visible, but there is still empty space around them. It seems that Bricks does not add Display: none to the a tag on the icons, unlike the image element. Is there a bug here? Or is there an improvement that can be made?

Best regards

{"content":[{"id":"gnnkbr","name":"section","parent":0,"children":["auafmb"],"settings":{}},{"id":"auafmb","name":"container","parent":"gnnkbr","children":["jpdgrw","dhncwq","zdomcn","meepoo","wjminm"],"settings":{"_direction":"row","_alignItems":"center","_justifyContent:mobile_landscape":"space-between","_columnGap":"10"}},{"id":"jpdgrw","name":"button","parent":"auafmb","children":[],"settings":{"text":"H","_background:mobile_landscape":{"color":{"light":"#424242","raw":"var(--bricks-color-grey-800)","id":"595e86"}},"_typography:mobile_landscape":{"color":{"raw":"#ffffff"}}}},{"id":"meepoo","name":"button","parent":"auafmb","children":[],"settings":{"text":"H","style":"primary","_background:mobile_landscape":{"color":{"light":"#424242","raw":"var(--bricks-color-grey-800)","id":"595e86"}},"_typography:mobile_landscape":{"color":{"raw":"#ffffff"}}}},{"id":"wjminm","name":"button","parent":"auafmb","children":[],"settings":{"text":"H","style":"primary","_background:mobile_landscape":{"color":{"light":"#424242","raw":"var(--bricks-color-grey-800)","id":"595e86"}},"_typography:mobile_landscape":{"color":{"raw":"#ffffff"}}}},{"id":"cuqpqv","name":"section","parent":0,"children":["yhwvjt"],"settings":{"_margin:mobile_landscape":{"top":"20"}}},{"id":"yhwvjt","name":"container","parent":"cuqpqv","children":["clbywu","srxmyl","lkadwg","pyrgrz","hkfecd"],"settings":{"_direction":"row","_alignItems":"center","_justifyContent:mobile_landscape":"space-between","_columnGap":"10"}},{"id":"clbywu","name":"button","parent":"yhwvjt","children":[],"settings":{"text":"H","_background:mobile_landscape":{"color":{"light":"#424242","raw":"var(--bricks-color-grey-800)","id":"595e86"}},"_typography:mobile_landscape":{"color":{"raw":"#ffffff"}}}},{"id":"srxmyl","name":"image","parent":"yhwvjt","children":[],"settings":{"image":{"id":378,"filename":"1b69ed4f1b289018937f3e4cb7031ccd39a651b5.png","size":"full","full":"https://try.bricksbuilder.io/t4ccb117/wp-content/uploads/sites/43823/2026/04/1b69ed4f1b289018937f3e4cb7031ccd39a651b5.png","url":"https://try.bricksbuilder.io/t4ccb117/wp-content/uploads/sites/43823/2026/04/1b69ed4f1b289018937f3e4cb7031ccd39a651b5.png"},"_opacity":"0.5","_width":"40","link":"url","url":{"type":"external","url":"#"},"_display:mobile_landscape":"none"},"themeStyles":{}},{"id":"pyrgrz","name":"button","parent":"yhwvjt","children":[],"settings":{"text":"H","style":"primary","_background:mobile_landscape":{"color":{"light":"#424242","raw":"var(--bricks-color-grey-800)","id":"595e86"}},"_typography:mobile_landscape":{"color":{"raw":"#ffffff"}}}},{"id":"lkadwg","name":"image","parent":"yhwvjt","children":[],"settings":{"image":{"id":378,"filename":"1b69ed4f1b289018937f3e4cb7031ccd39a651b5.png","size":"full","full":"https://try.bricksbuilder.io/t4ccb117/wp-content/uploads/sites/43823/2026/04/1b69ed4f1b289018937f3e4cb7031ccd39a651b5.png","url":"https://try.bricksbuilder.io/t4ccb117/wp-content/uploads/sites/43823/2026/04/1b69ed4f1b289018937f3e4cb7031ccd39a651b5.png"},"_opacity":"0.5","_width":"40","link":"url","url":{"type":"external","url":"#"},"_display:mobile_landscape":"none"},"themeStyles":{}},{"id":"hkfecd","name":"button","parent":"yhwvjt","children":[],"settings":{"text":"H","style":"primary","_background:mobile_landscape":{"color":{"light":"#424242","raw":"var(--bricks-color-grey-800)","id":"595e86"}},"_typography:mobile_landscape":{"color":{"raw":"#ffffff"}}}},{"id":"zdomcn","name":"icon","parent":"auafmb","children":[],"settings":{"icon":{"library":"themify","icon":"ti-settings"},"iconSize":"30","link":{"type":"external","url":"#"},"_display":"flex","_display:mobile_landscape":"none"}},{"id":"dhncwq","name":"icon","parent":"auafmb","children":[],"settings":{"icon":{"library":"themify","icon":"ti-settings"},"iconSize":"30","link":{"type":"external","url":"#"},"_display":"flex","_display:mobile_landscape":"none"}}],"source":"bricksCopiedElements","sourceUrl":"https://try.bricksbuilder.io/t4ccb117","version":"2.3.4"}

Hi Victor,
Thanks so much for your report!

I reproduced the issue and added it to our bug tracker.
We’ll update this thread once it’s fixed.

Best regards,
timmse