Wikiki / bulma-timeline

Bulma's extension to display a timeline
MIT License
183 stars 48 forks source link

No-headers auto select first/last timeline element & Updated dist sass file #34

Open ephe-meral opened 5 years ago

ephe-meral commented 5 years ago

I was confused by the fact that the current implementation of the no-headers timeline class required to explicitly identify the first and last timeline element by adding a is-first or is-last class to it.

So I propose to change the selectors to the css :first-child and :last-child respectively.

...I then built the project and it also updated some additional lines in the dist sass file - which I included in the first commit. Then I applied the class changes in the second commit.

Let me know if this works for you, or you'd like something to change.

ephe-meral commented 5 years ago

Actually, thinking about this, I think we should allow either I guess... whatever fits the use-case best.