Skip to content

Commit 90d105d

Browse files
authored
Intercom messenger has a new icon size (#4)
* new icon size * fix arrow down svg
1 parent 5b47ce9 commit 90d105d

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/index.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@
6565
}
6666
var logoHtml = `
6767
<svg
68-
height="32px"
69-
width="28px"
68+
height="24px"
69+
width="22px"
7070
focusable="false"
7171
aria-hidden="true"
7272
viewBox="0 0 28 32">
@@ -90,13 +90,13 @@
9090
transition: 'transform 0.16s linear 0s, opacity 0.08s linear 0s'
9191
}, null, logoHtml);
9292
var closeHtml = `
93-
<svg focusable="false" viewBox="0 0 16 14" width="28" height="25" style="width: 16px;">
93+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
9494
<path
95-
fill="rgb(255, 255, 255)"
96-
fillRule="evenodd"
97-
clipRule="evenodd"
98-
d="M.116 4.884l1.768-1.768L8 9.232l6.116-6.116 1.768 1.768L8 12.768.116 4.884z"
99-
/>
95+
fill-rule="evenodd"
96+
clip-rule="evenodd"
97+
fill="white"
98+
d="M18.601 8.39897C18.269 8.06702 17.7309 8.06702 17.3989 8.39897L12 13.7979L6.60099 8.39897C6.26904 8.06702 5.73086 8.06702 5.39891 8.39897C5.06696 8.73091 5.06696 9.2691 5.39891 9.60105L11.3989 15.601C11.7309 15.933 12.269 15.933 12.601 15.601L18.601 9.60105C18.9329 9.2691 18.9329 8.73091 18.601 8.39897Z">
99+
</path>
100100
</svg>
101101
`;
102102
var close = buildElement({
@@ -117,8 +117,8 @@
117117
position: 'absolute',
118118
top: '0px',
119119
left: '0px',
120-
width: '60px',
121-
height: '60px',
120+
width: '48px',
121+
height: '48px',
122122
borderRadius: '50%',
123123
cursor: 'pointer',
124124
transformOrigin: 'center',
@@ -159,8 +159,8 @@
159159
bottom: '20px',
160160
display: 'block',
161161
right: '20px',
162-
width: '60px',
163-
height: '60px',
162+
width: '48px',
163+
height: '48px',
164164
borderRadius: '50%',
165165
boxShadow:
166166
'rgba(0, 0, 0, 0.0588235) 0px 1px 6px 0px, rgba(0, 0, 0, 0.156863) 0px 2px 32px 0px',

0 commit comments

Comments
 (0)