alump / GridStack

Vaadin layout add-on using gridstack.js library
Apache License 2.0
10 stars 7 forks source link

Bottom padding for GridStack container #17

Open Artgit opened 8 years ago

Artgit commented 8 years ago

I was successfully able to add top padding to GridStack container by providing a following styles:

[class*=' grid-stack-instance'] {
       .grid-stack-item[data-gs-y="0"]{
         top: 10px;
     }
}

gs1

I also need to add the same padding to the bottom of GridStack container.

gs2

The following style unfortunately doesn't work:

[class*=' grid-stack-instance'] { .grid-stack-item:last-child{ bottom: 10px; } }

How it can be implemented ?