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

Line clamp sidebar title to 2 lines #1788

Closed
wants to merge 2 commits into from
Closed

Conversation

skjnldsv
Copy link
Contributor

Signed-off-by: John Molakvoæ (skjnldsv) <[email protected]>
@@ -387,20 +426,60 @@ export default {
},
},

updated() {
this.$nextTick(this.forceUpdateClamps)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Temporary hack, for some reason the docs doesn't trigger the open/close properly.
On real life example it seems to works fine 🤔

Capture d’écran_2021-03-25_16-39-46

* The sidebar is opening and the transition is in progress
* @type {HTMLElement}
*/
this.$emit('open', element)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ChristophWurst will love this, two proper separate events to manage before and after open :)

@raimund-schluessler
Copy link
Contributor

Can we have #1767 before, please? 🙈

@skjnldsv
Copy link
Contributor Author

Can we have #1767 before, please?

Yes, this is still a draft! :)
I actually thought that was in already lol

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

Successfully merging this pull request may close these issues.

Sidebar should show full file name
2 participants