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

Display Date & Time on the opposite sides of timeline panel #30

Open
rahil051 opened this issue May 26, 2016 · 2 comments
Open

Display Date & Time on the opposite sides of timeline panel #30

rahil051 opened this issue May 26, 2016 · 2 comments

Comments

@rahil051
Copy link

@rpocklin
Just like in this bootstrap demo
http://bootsnipp.com/snippets/featured/timeline-dotted
does this module supports date & time display opposite of their respective panel?
So for example timeline panel on the left side of the timeline badge and the date & time component on the right side.
And if it doesn't support the feature, is it planned to be in some future release ?

@rpocklin
Copy link
Owner

rpocklin commented Jun 7, 2016

I get what you are after - same as #22 looks like it's a wanted feature :)
Should be easy just tweaking some CSS - can you do a PR?

@rahil051
Copy link
Author

rahil051 commented Jun 7, 2016

Yeah, I tweaked a little bit of CSS, customized pull-left and pull-right classes by applying even odd logic, i.e.

ng-class="{ 'pull-left': $index%2==0, 'pull-right': $index%2!==0 }"
// where $index comes from ng-repeat directive

to get it 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

2 participants