Skip to content

Commit 19c0139

Browse files
committed
fix support button styling
1 parent f3ab2d4 commit 19c0139

4 files changed

Lines changed: 21 additions & 10 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"@hyperplay/chains": "^0.6.1",
7373
"@hyperplay/check-disk-space": "^3.5.2",
7474
"@hyperplay/quests-ui": "^0.4.0",
75-
"@hyperplay/ui": "^1.30.3",
75+
"@hyperplay/ui": "1.30.8-beta.0",
7676
"@hyperplay/utils": "^0.3.14",
7777
"@mantine/carousel": "^7.12.0",
7878
"@mantine/core": "^7.12.0",

pnpm-lock.yaml

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.icon {
2+
stroke: var(--icon-neutral);
3+
}

src/frontend/components/UI/Support/index.tsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
import { Button, Images } from '@hyperplay/ui'
12
import React, { useEffect } from 'react'
3+
import styles from './index.module.scss'
24

35
declare global {
46
interface Window {
@@ -15,7 +17,13 @@ export const Support = () => {
1517
})
1618
return (
1719
<>
18-
<button onClick={() => window.zE('messenger', 'open')}>Support</button>
20+
<Button
21+
type="tertiary-neutral"
22+
size="icon"
23+
onClick={() => window.zE('messenger', 'open')}
24+
>
25+
<Images.QuestionMarkRounded className={styles.icon} />
26+
</Button>
1927
</>
2028
)
2129
}

0 commit comments

Comments
 (0)