Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

contrib: improved monitoring index with consistent spacing #610

2 changes: 1 addition & 1 deletion src/pages/monitoring/allPositions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export default function AllPositions({
}, [allPositions.map((x) => x.exitFeeUsd ?? 0).join(',')]);

return (
<div className="flex flex-col gap-2 p-2">
<div>
<StyledContainer className="p-0">
<div className="flex flex-wrap justify-between">
<NumberDisplay
Expand Down
2 changes: 1 addition & 1 deletion src/pages/monitoring/allStaking.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function AllStaking() {
const totalSupplyALP = useALPTotalSupply();

return (
<div className="flex flex-col gap-2 p-2 items-center justify-center">
<div>
<StyledContainer className="p-4" bodyClassName='items-center justify-center flex relative'>
<div className='flex flex-col items-center justify-center gap-1'>
<h2 className='flex'>STAKED ADX</h2>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/monitoring/allUserProfiles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export default function AllUserProfiles({

return (
<>
<div className="flex flex-col gap-2 p-2">
<div>
<StyledContainer className="p-0">
<div className="flex flex-col md:flex-row md:gap-3">
<FilterSidebar
Expand Down
2 changes: 1 addition & 1 deletion src/pages/monitoring/basic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default function BasicMonitoring({
}, []);

return (
<div className="flex flex-col gap-2 p-2">
<div className="flex flex-col gap-2">
{mainPool && (
<StyledContainer className="p-0">
<div className="flex flex-wrap justify-between">
Expand Down
2 changes: 1 addition & 1 deletion src/pages/monitoring/detailed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export default function DetailedMonitoring({
}));

return (
<div className="border bg-secondary rounded-lg overflow-hidden m-2">
<div className="border bg-secondary rounded-lg overflow-hidden">
<TabSelect
wrapperClassName="hidden md:flex gap-6 border-b p-3 pb-0 select-none mb-3"
titleClassName="whitespace-nowrap text-sm"
Expand Down
3 changes: 1 addition & 2 deletions src/pages/monitoring/flows.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@ export default function Flow({

if (!groupedStats || !activityCalendarData) return <div>No data</div>;


return (
<StyledContainer className="rounded-lg overflow-hidden p-5 mt-2">
<StyledContainer className="rounded-lg overflow-hidden p-5">
<div className="flex flex-col sm:flex-row space-y-2 sm:space-y-0 sm:space-x-2 bg-secondary border border-gray-600 rounded p-2 text-sm items-center">
<Select
onSelect={(value) => {
Expand Down
Loading