Skip to content

Commit

Permalink
feat(tooltip): css variable to set display of tooltip trigger (#655)
Browse files Browse the repository at this point in the history
Co-authored-by: Enes Yıldırım <[email protected]>
  • Loading branch information
Enes5519 and Enes Yıldırım authored Jul 14, 2023
1 parent 3a01e54 commit 369750a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/tooltip/bl-tooltip.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
}

.trigger {
display: inline-flex;
display: var(--bl-tooltip-trigger-display, inline-flex);
cursor: pointer;
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/tooltip/bl-tooltip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import style from './bl-tooltip.css';
* @summary Baklava Tooltip component
* @dependency bl-popover
*
* @property {string} placement - Sets the tooltip placement
* @cssproperty [--bl-tooltip-trigger-display=inline-flex] Set the display of the tooltip trigger.
*/
@customElement('bl-tooltip')
export default class BlTooltip extends LitElement {
Expand Down

0 comments on commit 369750a

Please sign in to comment.