Skip to content

Commit 191b468

Browse files
Merge pull request #597 from catho/QTM-402
fix(QTM-402): Correction in the display of emoji instead of the balloon position indicator arrow
2 parents f7b10c4 + c07e23f commit 191b468

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

components/Popover/__snapshots__/Popover.unit.test.jsx.snap

+9-9
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ exports[`Popover component should match snapshots 1`] = `
117117
color: #ffffff;
118118
font-size: 16px;
119119
position: absolute;
120-
content: '';
120+
content: '';
121121
left: 50%;
122122
text-shadow: 0px 8px 4px rgba(66,66,66,0.2);
123123
bottom: 0;
@@ -314,7 +314,7 @@ exports[`Popover component should match snapshots 2`] = `
314314
color: #ffffff;
315315
font-size: 16px;
316316
position: absolute;
317-
content: '';
317+
content: '';
318318
left: 50%;
319319
text-shadow: 0px 8px 4px rgba(66,66,66,0.2);
320320
bottom: 0;
@@ -515,7 +515,7 @@ exports[`Popover component should match snapshots 3`] = `
515515
color: #dcedc8;
516516
font-size: 16px;
517517
position: absolute;
518-
content: '';
518+
content: '';
519519
left: 50%;
520520
text-shadow: 0px 8px 4px rgba(66,66,66,0.2);
521521
bottom: 0;
@@ -720,7 +720,7 @@ exports[`Popover component should match snapshots 4`] = `
720720
color: #ffefd6;
721721
font-size: 16px;
722722
position: absolute;
723-
content: '';
723+
content: '';
724724
left: 50%;
725725
text-shadow: 0px 8px 4px rgba(66,66,66,0.2);
726726
bottom: 0;
@@ -929,7 +929,7 @@ exports[`Popover component should match snapshots 5`] = `
929929
color: #fff5f5;
930930
font-size: 16px;
931931
position: absolute;
932-
content: '';
932+
content: '';
933933
left: 50%;
934934
text-shadow: 0px 8px 4px rgba(66,66,66,0.2);
935935
bottom: 0;
@@ -1139,7 +1139,7 @@ exports[`Popover component should match snapshots 6`] = `
11391139
font-size: 16px;
11401140
position: absolute;
11411141
top: -4px;
1142-
content: '';
1142+
content: '';
11431143
left: 50%;
11441144
text-shadow: 0px -3px 4px rgba(66,66,66,0.2);
11451145
-webkit-transform: translateX(-50%);
@@ -1348,7 +1348,7 @@ exports[`Popover component should match snapshots 7`] = `
13481348
font-size: 16px;
13491349
position: absolute;
13501350
bottom: 50%;
1351-
content: '';
1351+
content: '';
13521352
right: -8px;
13531353
text-shadow: 4px 1px 4px rgba(66,66,66,0.2);
13541354
}
@@ -1554,7 +1554,7 @@ exports[`Popover component should match snapshots 8`] = `
15541554
font-size: 16px;
15551555
position: absolute;
15561556
bottom: 50%;
1557-
content: '';
1557+
content: '';
15581558
left: -8px;
15591559
text-shadow: -4px 1px 4px rgba(66,66,66,0.2);
15601560
}
@@ -1759,7 +1759,7 @@ exports[`Popover component should match snapshots 9`] = `
17591759
color: #424242;
17601760
font-size: 16px;
17611761
position: absolute;
1762-
content: '';
1762+
content: '';
17631763
left: 50%;
17641764
text-shadow: 0px 8px 4px rgba(66,66,66,0.2);
17651765
bottom: 0;

components/Popover/arrowProperties.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,28 @@ const CENTER_POSITION = '50%';
66

77
const placementPosition = ({ neutral: { 700: shadowColor } }) => ({
88
top: `
9-
content: '';
9+
content: '\u25BC\uFE0E';
1010
left: ${CENTER_POSITION};
1111
text-shadow: 0px 8px 4px ${hexToRgba(shadowColor, 0.2)};
1212
bottom: 0;
1313
transform: translateX(-${CENTER_POSITION});
1414
`,
1515
bottom: `
1616
top: -4px;
17-
content: '';
17+
content: '\u25B2\uFE0E';
1818
left: ${CENTER_POSITION};
1919
text-shadow: 0px -3px 4px ${hexToRgba(shadowColor, 0.2)};
2020
transform: translateX(-${CENTER_POSITION});
2121
`,
2222
right: `
2323
bottom: ${CENTER_POSITION};
24-
content: '';
24+
content: '\u25C0\uFE0E';
2525
left: ${SIDE_POSITION_X}px;
2626
text-shadow: -4px 1px 4px ${hexToRgba(shadowColor, 0.2)};
2727
`,
2828
left: `
2929
bottom: ${CENTER_POSITION};
30-
content: '';
30+
content: '\u25B6\uFE0E';
3131
right: ${SIDE_POSITION_X}px;
3232
text-shadow: 4px 1px 4px ${hexToRgba(shadowColor, 0.2)};
3333
`,

0 commit comments

Comments
 (0)