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

Show tooltips only on checkbox, not the bigger enclosing div #8

Open
wagner-intevation opened this issue Sep 17, 2024 · 0 comments
Open

Comments

@wagner-intevation
Copy link
Member

Currently, the tooltips are on the row:

<b-form-group v-b-tooltip.hover label-cols=4 label="Dryrun" title="Override the values of Classification Type and Classification Identifier to 'test'.">
<b-form-checkbox
v-model="dryrun"
switch
@change="onDryRunChange"
></b-form-checkbox>
</b-form-group>
<b-form-group v-b-tooltip.hover label-cols=4 label="Validate/Submit with bots" :title="'Validate the data with all configured IntelMQ Bots included. If unchecked on submission, data will be submitted to the IntelMQ processing pipeline, not the configured output bot. ' + (!botsAvailable.status ? botsAvailable.reason : '')">
<b-form-checkbox
v-model="validateWithBots"
switch
:disabled="!botsAvailable.status"
></b-form-checkbox>
</b-form-group>

So they are shown whenever hovering over the row containing the label or checkbox (including white space).

Customer requests that they are only shown when hovering over the small checkbox itself.

Moving the tooltip-attributes to the b-form-checkbox does not work, as they end up at the enclosing div, so the tooltip is also shown when hovering the white space left and right of the checkbox, inside the column
image

So, the div (fieldset .col) needs to be made as small as possible while still being vertically and horizontally aligned.

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

No branches or pull requests

1 participant