-
Notifications
You must be signed in to change notification settings - Fork 88
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
Fix counter margin #1912
Fix counter margin #1912
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bc91cd8
to
7bda7f7
Compare
🤦 done 😅 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The fix for the Calendar app will still be necessary, but I guess that's inevitable and can be fixed quickly in the Calendar app. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a breaker though, not really a fix
If we need to fix something for it to work in another app, that's not ok. |
Technically, yes. But using the counter slot like Tasks and Calendar do it, was never really supported by nextcloud/vue. So I am a bit undecided if we need to account for it. In the Tasks app, I already included the necessary fix: So, I don't mind whatever is decided. |
The question is, does it works in any of 3.x.x of nextcloud/vue? |
Yes, it does work in 3.x.x. If we want to not break this usage, we could either try to not introduce this wrapper around the CounterBubble or maybe apply this rule to it: .app-navigation-entry__counter-wrapper {
margin-right: 2px;
display: flex;
align-items: center;
flex: 0 1 auto;
} This should also keep it working, I think (didn't test it yet, can do it only in the evening). |
Why do we need this wrapper at all btw? |
To apply the extra margin without using v-deep |
Signed-off-by: Marco Ambrosini <[email protected]>
7bda7f7
to
64f88ef
Compare
/backport to stable3 |
I can confirm it now works without adjustments, nextcloud/tasks#1564. |
fix #1868
Bringing back only the counter fix.
Signed-off-by: Marco Ambrosini [email protected]