-
Notifications
You must be signed in to change notification settings - Fork 295
fix: quota spacing #11347
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: quota spacing #11347
Conversation
Signed-off-by: greta <[email protected]>
ChristophWurst
left a comment
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.
Works visually until you hover, because buttons have a pointer cursor. This wrongly makes the element appear as if it were clickable.
Can you share more insights about the impact of the br in other usages of the text action? Is the additional space desired everywhere but Mail, or should we fix all usages vi an upstream fix?
Also, the fix only covers the accounts actions. Mailbox actions still have the additional space. Please fix both in one go.
What would the description prop do? |
I didnt find any other usage of having a name with a long text, but i feel like im missing something because there is this comment on the ncactiontext component: As i noted on in the ticket, we can also add a desc prop and see how that fits our scenario. |
There is no such prop on https://nextcloud-vue-components.netlify.app/#/Components/NcActions?id=ncactiontext |
i know, my proposal is to add a (new) prop. |
Indeed not a lot of those usages. The usages with name+default slot across our orga are
In other words just Talk and Mail. Is Talk affected by the same design bug? |
Got it. What will the descr prop do? |
I found this pr from Maksime and wanted to propose the same for ncactiontext: nextcloud-libraries/nextcloud-vue#6932 |
|
I guess now this is obvious that needs to be changed upstream. So i will do that |
|
Yep sounds like the best approach if there is not a single use where the current style looks good :) |
That makes sense if you want to add more text to an existing action. In our case the entry is fully informational and standalone. |
|
closing. fixing upstream nextcloud-libraries/nextcloud-vue#7116 |

The problem:
NcActionTexthas a br to split action name from action_long text, which breaks our quota and quota text on our action menu as seen below on the screenshot.NcActionButton has a section for long text that doesnt break: https://github.com/nextcloud-libraries/nextcloud-vue/blob/ae1b3c2ef908985a4052ac03d9a6310593030545/src/components/NcActionButton/NcActionButton.vue#L346-L364
so i used that to fix our problem. Another solution would be if we remove the
brand add description prop, but im not sure if that works on every scenario.before


after