Bricks Builder: Default Colors Panel to a List instead of Grid

preview_player
Показать описание
With the Bricks Color Panel my preference is to display the colors as a list instead of a swatch grid. That way it is easier to see the Color names.

Bricks 1.9.4 does not have an option for this. So I created a snippet to do so.

Рекомендации по теме
Комментарии
Автор

Good one! The only thing I would double check is the selector with balloon « List (Edit) » that might not work for users using different language than English. Maybe target the element based on the DOM position rather than the data-balloon?

maximebeguin
Автор

I like it! But would be curious to hear what @Gearyco has to say for us using ACSS... I'm worried long lists may be a problem.

Lenny
Автор

Thanks 🙏 just a small bug if the description is double lined things get messy!

mmaayta