Skip to content

Commit 9f23915

Browse files
committed
fixed button style in tooltip
1 parent ed1bd03 commit 9f23915

File tree

7 files changed

+9
-6
lines changed

7 files changed

+9
-6
lines changed

build/cjs/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/esm/index.mjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gleap",
3-
"version": "13.7.5",
3+
"version": "13.7.6",
44
"main": "build/cjs/index.js",
55
"module": "build/esm/index.mjs",
66
"exports": {

published/13.7.6/index.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

published/latest/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/GleapTooltipManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ export default class GleapTooltipManager {
215215

216216
canEmbed(element) {
217217
const voidElements = new Set([
218-
'area', 'base', 'br', 'embed', 'hr', 'img', 'input', 'source', 'track', 'wbr'
218+
'area', 'base', 'br', 'embed', 'hr', 'img', 'input', 'source', 'track', 'wbr', 'canvas'
219219
]);
220220

221221
return element && !voidElements.has(element.tagName.toLowerCase());

src/UI.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1936,11 +1936,13 @@ export const injectStyledCSS = (
19361936
color: ${buttonColor} !important;
19371937
}
19381938
1939+
.gleap-tooltip .linktype-button,
19391940
.gleap-tour-message .linktype-button {
19401941
display: inline-block !important;
19411942
border-radius: 5px;
19421943
box-sizing: border-box;
1943-
padding: 10px 20px;
1944+
padding: 10px 20px !important;
1945+
text-decoration: none !important;
19441946
background-color: ${buttonColor} !important;
19451947
color: ${contrastButtonColor} !important;
19461948
}

0 commit comments

Comments
 (0)