add expanders, minor ui tweaks

This commit is contained in:
Collin M. Barrett 2018-02-14 19:44:04 -06:00
parent dbbc87f168
commit 3fb461e67d
2 changed files with 13 additions and 4 deletions

View file

@ -61,7 +61,16 @@ export class Home extends React.Component<RouteComponentProps<{}>, IFilterListsS
}&amp;title=${encodeURIComponent(d.row.name)}`}>Subscribe</a>,
maxWidth: 100
}
]}/>;
]}
SubComponent={(row: any) => {
return (
<div style={{ padding: "20px" }}>
<em>
{row.original.description}
</em>
</div>
);
}}/>;
}
}

View file

@ -6,7 +6,7 @@ export interface LayoutProps {
export class Layout extends React.Component<LayoutProps, {}> {
render() {
return <div className="container-fluid">
return <div className="container">
<div className="row">
<h1>FilterLists</h1>
<p>The independent and comprehensive directory of all public filter and hosts lists for advertisements, trackers, malware, and annoyances.</p>
@ -17,8 +17,8 @@ export class Layout extends React.Component<LayoutProps, {}> {
</div>
</div>
<div className="row text-center">
A project by <a href="https://collinmbarrett.com/">Collin M. Barrett</a>. | View on <a href="https://github.com/collinbarrett/FilterLists">GitHub</a>.
A project by <a href="https://collinmbarrett.com/">Collin M. Barrett</a>. | Contribute on <a href="https://github.com/collinbarrett/FilterLists">GitHub</a>.
</div>
</div>;
}
};
}