Skip to content

Commit cd6dd1e

Browse files
author
markzegarelli
authored
Merge branch 'master' into fullstory_page_update
2 parents f638039 + 4074907 commit cd6dd1e

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

js/feedback/index.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,17 @@ export default function() {
3232
const tooltips = tippy(buttons)
3333
const defaultSettings = {
3434
interactive: true,
35-
flip: true,
35+
popperOptions: {
36+
modifiers: [
37+
{
38+
name: 'flip',
39+
enabled: true
40+
},
41+
],
42+
},
3643
placement: 'bottom-end',
37-
boundary: '.docs',
3844
trigger: 'manual',
45+
allowHTML: true,
3946
onMount: (tooltip) => {
4047
const sendButton = document.querySelector(SEND_SELECTOR)
4148
const feedbackText = document.querySelector(TEXT_SELECTOR)

src/_sass/components/_feedback-template.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,19 @@
44
align-items: flex-end;
55
padding: 10px 5px 5px 10px;
66
transition: 200ms ease;
7+
background-color: white;
8+
border-radius: 4px;
9+
border: 1px solid rgb(216,218,229);
10+
box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
11+
712

813
&__textarea {
914
width: 260px;
1015
border: none;
1116
resize: none;
1217
color: color(gray-800);
1318
outline: none;
19+
font-size: 12px;
1420

1521
&::placeholder {
1622
color: color(gray-600);

0 commit comments

Comments
 (0)