Skip to content

Instantly share code, notes, and snippets.

@lukecav
Created January 12, 2018 18:47
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukecav/d7effd9775902a9e689319671ded5792 to your computer and use it in GitHub Desktop.
Save lukecav/d7effd9775902a9e689319671ded5792 to your computer and use it in GitHub Desktop.
Flexible Elementor Widgets Panel
add_action( 'elementor/editor/after_enqueue_styles', function() {
echo '<style type="text/css">
.elementor-panel .panel-elements-category-items {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
}
.elementor-panel .elementor-element-wrapper {
flex: 1 1 80px;
}
</style>';
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment