Title: ✨ Allow maxWidth to support `unset` and other keywords · Issue #48 · svelte-plugins/tooltips · GitHub
Open Graph Title: ✨ Allow maxWidth to support `unset` and other keywords · Issue #48 · svelte-plugins/tooltips
X Title: ✨ Allow maxWidth to support `unset` and other keywords · Issue #48 · svelte-plugins/tooltips
Description: Current behavior: The maxWidth property only accepts numbers. I'm trying to use the tooltips to be more dynamic in size to fit the exact width of the text. I'd like to set this property as either none or unset. When I put those values in...
Open Graph Description: Current behavior: The maxWidth property only accepts numbers. I'm trying to use the tooltips to be more dynamic in size to fit the exact width of the text. I'd like to set this property as either n...
X Description: Current behavior: The maxWidth property only accepts numbers. I'm trying to use the tooltips to be more dynamic in size to fit the exact width of the text. I'd like to set this property as ...
Opengraph URL: https://github.com/svelte-plugins/tooltips/issues/48
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"✨ Allow maxWidth to support `unset` and other keywords","articleBody":"Current behavior:\n\nThe `maxWidth` property only accepts numbers. I'm trying to use the tooltips to be more dynamic in size to fit the exact width of the text. I'd like to set this property as either `none` or `unset`. When I put those values in, it calculates the value to be either `nonepx` or `unsetpx` and the browser removes the min-width and max-width on the tooltip due it being an invalid style property.\n\nDesired behavior:\n\nEntering in a non-number value like `none` or `unset` would set the min-width and max-width styles to `none` or `unset` respectively.\n","author":{"url":"https://github.com/colinkautz","@type":"Person","name":"colinkautz"},"datePublished":"2025-02-08T16:32:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/48/tooltips/issues/48"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e488a70e-c3dd-9510-f39f-17b83a76a614 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ED48:229D5F:325EDB9:430EB4F:6A653EA3 |
| html-safe-nonce | 024fa10541f5ef3e3b9535e404a451f5f18992cfc2c44fba7b190b16ba71bf44 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDQ4OjIyOUQ1RjozMjVFREI5OjQzMEVCNEY6NkE2NTNFQTMiLCJ2aXNpdG9yX2lkIjoiMzM3OTIyMDc2MzUwNTkzMzk4NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f3ffb861a98f089d0280e91e9b72aff966631200203ed4f0ed82a9c4e1f213bb |
| hovercard-subject-tag | issue:2840131417 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/svelte-plugins/tooltips/48/issue_layout |
| twitter:image | https://opengraph.githubassets.com/365519bfe839c253a47ae504a6e3f37f0de1ca84e76d8e3d22dc86955fad83b3/svelte-plugins/tooltips/issues/48 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/365519bfe839c253a47ae504a6e3f37f0de1ca84e76d8e3d22dc86955fad83b3/svelte-plugins/tooltips/issues/48 |
| og:image:alt | Current behavior: The maxWidth property only accepts numbers. I'm trying to use the tooltips to be more dynamic in size to fit the exact width of the text. I'd like to set this property as either n... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | colinkautz |
| hostname | github.com |
| expected-hostname | github.com |
| None | 52c76df668885aaff23b50bdca1fa1ea44ac9c1553e888ebc70ff1e4daa4625b |
| turbo-cache-control | no-preview |
| go-import | github.com/svelte-plugins/tooltips git https://github.com/svelte-plugins/tooltips.git |
| octolytics-dimension-user_id | 81191404 |
| octolytics-dimension-user_login | svelte-plugins |
| octolytics-dimension-repository_id | 527369120 |
| octolytics-dimension-repository_nwo | svelte-plugins/tooltips |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 527369120 |
| octolytics-dimension-repository_network_root_nwo | svelte-plugins/tooltips |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 309153364422b3c499922d1a2a6404910a58ed8e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width