SOLVED: Bricks 2.0: Style indicator on pseudo class

Browser: Chrome 136.0.7103.93
OS: Windows

Hi,

There are two things I want to point out about the new version’s Pseudo class, the first one I’m not sure if it’s a bug or not.

1- Suppose we have a button that has style. Now if we set the Pseudo class, the style indicator will display the normal style of the button. Is this necessary? Or is it a bug?

2- But with the :before and :after selections, the situation is slightly different. The default marker is displayed. However, when you set a new style and clear it, the default style marker disappears.

Please watch the video below. From the 25th second onwards, it is related to the second case in this report.

Thank you

Hi Hosein,
Thanks so much for your report!

  1. I don’t see a bug. Isn’t it an advantage that the indicator is displayed? You probably want to overwrite one or more of these values in the hover state, but thanks to the indicator, you don’t have to think about what you have set where.

  2. In our dev version, the indicators of the default state remain after the pseudo-style has been reset. This is the correct behavior, and your problem should, therefore, already be solved.

Best regards,
timmse

1 Like

Great, thank you Timmse🙏🏻