Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split an item horizontally #478

Open
Alchemy86 opened this issue Apr 13, 2017 · 0 comments
Open

Split an item horizontally #478

Alchemy86 opened this issue Apr 13, 2017 · 0 comments

Comments

@Alchemy86
Copy link

Is it possible to split the content of a gridster-item horizontally?
I have tried but cannot force it.
I just want two sizes to my items, one on the left and one on the right sharing 50% of the available space.

I managed to get a handle on the left with a set colour etc but cannot force the other data to the right of it, its simply pushing the data down below and outside of the gridster-item.

<div gridster="gridsterOpts"> <ul> <li gridster-item="customItemMap" ng-repeat="item in customItems"> <div class="handle" style="width: 50%; height: 100%; background: lightblue; ">{{item.Label}}</div> <div style="width: 50%; height: 100%; display: inline-block; float: left">{{ gridsterItem.isMoving() }}</div> </li> </ul> </div>

I cannot find any example where anyone splits it horizontally so can you confirm if this can be done?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant