Skip to content

Commit

Permalink
fix: style
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaccoSordo committed Jan 18, 2024
1 parent 86d9dda commit fd00a2d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
3 changes: 2 additions & 1 deletion packages/beacon-ui/src/components/info/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@

.info-button {
padding: 0.5em 1.6em;
font-size: 0.7em;
font-size: 1em;
font-weight: bold;
}
}
11 changes: 7 additions & 4 deletions packages/beacon-ui/src/ui/alert/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,10 @@ const openAlert = async (config: AlertConfig): Promise<string> => {
})
)

if (wallet?.types.includes('web') && wallet?.types.length === 1) {
if (
(wallet?.types.includes('web') && wallet?.types.length === 1) ||
(isAndroid(window) && wallet?.name.toLowerCase().includes('kukai'))
) {
handleNewTab(config, wallet)
return
}
Expand Down Expand Up @@ -761,7 +764,7 @@ const openAlert = async (config: AlertConfig): Promise<string> => {
description={`Please connect below to use ${currentWallet()?.name}`}
buttons={[
{
label: 'Connect now',
label: 'Use browser',
type: 'primary',
onClick: () => handleNewTab(config, currentWallet())
}
Expand All @@ -787,7 +790,7 @@ const openAlert = async (config: AlertConfig): Promise<string> => {
hasExtension()
? [
{
label: 'Connect now',
label: 'Use extension',
type: 'primary',
onClick: () => handleClickConnectExtension()
}
Expand Down Expand Up @@ -840,7 +843,7 @@ const openAlert = async (config: AlertConfig): Promise<string> => {
description={`Please connect below to use ${currentWallet()?.name}`}
buttons={[
{
label: 'Connect now',
label: 'Use app',
type: 'primary',
onClick: async () => {
const wallet = currentWallet()
Expand Down

0 comments on commit fd00a2d

Please sign in to comment.