diff --git a/components/brave_new_tab_ui/components/default/gemini/index.tsx b/components/brave_new_tab_ui/components/default/gemini/index.tsx index b292eca6d650..4ebe3a539ea5 100644 --- a/components/brave_new_tab_ui/components/default/gemini/index.tsx +++ b/components/brave_new_tab_ui/components/default/gemini/index.tsx @@ -73,7 +73,8 @@ import { TradeInfoItem, TradeItemLabel, TradeValue, - StyledParty + StyledParty, + SmallButton } from './style' import { SearchIcon, @@ -732,9 +733,9 @@ class Gemini extends React.PureComponent { {`${getLocale(actionLabel)} ${quantity} ${currentTradeAsset}!`} - + {getLocale('geminiWidgetContinue')} - + ) } @@ -780,9 +781,9 @@ class Gemini extends React.PureComponent { - + {`${getLocale('geminiWidgetConfirm')} (${currentTradeExpiryTime}s)`} - + {getLocale('geminiWidgetCancel')} diff --git a/components/brave_new_tab_ui/components/default/gemini/style.ts b/components/brave_new_tab_ui/components/default/gemini/style.ts index e26de27cf811..edcabf35b8eb 100644 --- a/components/brave_new_tab_ui/components/default/gemini/style.ts +++ b/components/brave_new_tab_ui/components/default/gemini/style.ts @@ -90,25 +90,29 @@ export const ActionsWrapper = styled('div')` text-align: center; ` -export const ConnectButton = styled('a')` +export const ConnectButton = styled('button')` font-size: 14px; font-weight: bold; border-radius: 20px; width: 100%; background: #3D3D3D; border: 0; - padding: 10px 60px; + padding: 10px; cursor: pointer; color: #fff; - margin-bottom: 10px; text-decoration: none; - width: ${p => p.isSmall ? 50 : 100}%; + min-width: 245px; &:focus { outline: 0; } ` +export const SmallButton = styled(ConnectButton)` + width: 50%; + margin-bottom: 10px; +` + export const NavigationBar = styled<{}, 'div'>('div')` height: 30px; margin-top: 15px;