Skip to content

Commit

Permalink
fix: ftm ecology style
Browse files Browse the repository at this point in the history
  • Loading branch information
cs1707 committed Nov 28, 2024
1 parent e32d05a commit 1cf9010
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
13 changes: 10 additions & 3 deletions src/ui/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ button:focus {
}
}
.text-gradient {
background: linear-gradient(132.94deg, #2ABB7F 5.01%, #FE6949 95.5%);
background: linear-gradient(132.94deg, #2abb7f 5.01%, #fe6949 95.5%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
Expand All @@ -432,10 +432,17 @@ button:focus {
.ant-modal-confirm-content {
padding: 0;
}
.ant-modal-confirm-content, .ant-modal-content {
.ant-modal-confirm-content,
.ant-modal-content {
background: var(--r-neutral-bg-1);
}
.ant-modal-content {
box-shadow: none;
}
}
.ant-modal-body {
padding: 20px;
}
.ant-modal-confirm-content {
margin-bottom: 0 !important;
}
}
4 changes: 3 additions & 1 deletion src/ui/views/Dashboard/components/EcologyPopup/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ export const EcologyPopup = ({ visible, onClose }: Props) => {
return (
<Popup
visible={visible}
height={'fit-content'}
onClose={onClose}
push={false}
title={t('page.dashboard.echologyPopup.title')}
>
<div className="flex flex-col gap-[8px]">
<div className="flex flex-col gap-[12px] pb-[8px]">
{EcoChains.map((item) => {
return (
<div
Expand All @@ -45,6 +46,7 @@ export const EcologyPopup = ({ visible, onClose }: Props) => {
<div className="text-r-neutral-title-1 text-[15px] font-medium flex-1">
{item?.name}
</div>
<ThemeIcon src={RcIconArrowRight} className="ml-auto" />
</div>
);
})}
Expand Down
2 changes: 1 addition & 1 deletion src/ui/views/Ecology/constants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const EcoChainMap = {
[64165]: {
name: 'Sonic Testnet',
logo: 'https://soniclabs.com/images/chains/sonic-testnet.svg',
navBarClassName: 'bg-r-sonic-background',
// navBarClassName: 'bg-r-sonic-background',
entry: SonicEntry,
},
};
Expand Down

0 comments on commit 1cf9010

Please sign in to comment.