katoid / angular-grid-layout

Responsive grid with draggable and resizable items for Angular applications.
https://katoid.github.io/angular-grid-layout
MIT License
462 stars 61 forks source link

Change color of Placeholder on v1.2.0 #88

Closed mauriciocirelli closed 1 year ago

mauriciocirelli commented 1 year ago

Dear,

We understand that custom placeholders is a feature of v2.0.0, but due to other requirements, we need to use Angular v13. Thus, we installed angular-grid-layout v1.2.0 and it is working as we would like. The only thing we would like to change is the color of the placeholder from red to gray.

Is there a way to achieve this using v1.2.0?

Thank you!

mauriciocirelli commented 1 year ago

Hi,

Have found a way. Just add this to your component css:

::ng-deep .ktd-grid-item-placeholder { background-color: gray !important; }