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

Need to show a Table in tool tip #725

Open
PraveeshKS opened this issue May 20, 2024 · 3 comments
Open

Need to show a Table in tool tip #725

PraveeshKS opened this issue May 20, 2024 · 3 comments
Labels
area-tooltip enhancement New feature or request

Comments

@PraveeshKS
Copy link

PraveeshKS commented May 20, 2024

Hi Team ,
I am trying to show a tooltip with some tabular data content , but the table is not rendering in the tooltip , is there any way to show a table with the tooltip tittle ? here I am trying to show the audit trail details and I want this tooltip to show the old and new values
Here is the sample code snippet for your reference :

image

please let me know if there is any way to achieve this requirement ,
Thank you

@gvreddy04
Copy link
Contributor

@PraveeshKS Thank you for using BlazorBootstrap. By default, Bootstrap framework sanitizes the HTML content. We will provide more configurable ways to allow the list of tags.

Ref: https://getbootstrap.com/docs/5.3/getting-started/javascript/#sanitizer

@gvreddy04 gvreddy04 added enhancement New feature or request area-tooltip labels May 20, 2024
@PraveeshKS
Copy link
Author

@gvreddy04 , Is there any way to increase the width of the tooltip ?

@gvreddy04
Copy link
Contributor

@PraveeshKS I didn't try. But I see a CSS variable in the bootstrap CSS.

Default:

--bs-tooltip-max-width: 200px;

Override with

--bs-tooltip-max-width: 400px !important;

Please modify according to your requirement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-tooltip enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants