feat: hide quick add magic help behind a tooltip #3353
|
@ -116,9 +116,10 @@ const prefixes = computed(() => PREFIXES[mode.value])
|
|||
.show-helper-text {
|
||||
right: 0;
|
||||
konrad marked this conversation as resolved
Outdated
|
||||
pointer-events: auto !important;
|
||||
konrad marked this conversation as resolved
Outdated
dpschen
commented
Why Why `pointer-events: auto`?
konrad
commented
Because in Because in `BaseButton` we set that to `none` which makes the button unclickable (and unhoverable).
dpschen
commented
That can't be it, because there it's set to That can't be it, because there it's set to `auto` as well: https://kolaente.dev/vikunja/frontend/src/branch/main/src/components/base/BaseButton.vue#L115
dpschen
commented
Seems to be the It also seems that the textarea could profit from Seems to be the `.control.has-icons-left .icon` class of bulma. Can you add a comment?
It also seems that the textarea could profit from `has-icon-right` so that there is enough padding for the button.
konrad
commented
Added a comment and more padding. Added a comment and more padding.
|
||||
|
||||
&.is-highlighted {
|
||||
color: inherit !important;
|
||||
}
|
||||
|
||||
}
|
||||
dpschen marked this conversation as resolved
Outdated
dpschen
commented
Is nesting even necessary if we already need to use Is nesting even necessary if we already need to use `!important` for inheriting the color?
konrad
commented
It isn't, I added the nesting out of habit. Removed it now. It isn't, I added the nesting out of habit. Removed it now.
|
||||
|
||||
.is-highlighted {
|
||||
color: inherit !important;
|
||||
}
|
||||
</style>
|
||||
|
|
Reference in New Issue
Block a user
Positioning should happen from outside. Remove
right: 0
from hereDone
I had to use an unscoped style for this because I could not add a new class to the
quick-add-magic
component due to it being multi-node. Not sure if that's the best solution.