Fix CSS in header.

This commit is contained in:
Mike Cao 2022-03-05 09:42:32 -08:00
parent de50109b3e
commit 3e8dd815b7
3 changed files with 5 additions and 4 deletions

View File

@ -6,6 +6,7 @@
}
.title {
flex: 1;
font-size: var(--font-size-large);
display: flex;
align-items: center;
@ -17,7 +18,7 @@
}
.links {
flex: 1;
flex: 2;
display: flex;
justify-content: center;
align-items: center;
@ -30,6 +31,7 @@
}
.buttons {
flex: 1;
display: flex;
justify-content: flex-end;
align-items: center;

View File

@ -10,8 +10,7 @@ import useShareToken from 'hooks/useShareToken';
import { EVENT_COLORS, TOKEN_HEADER } from 'lib/constants';
export default function EventsChart({ websiteId, className, token }) {
const [dateRange] = useDateRange(websiteId);
const { startDate, endDate, unit, modified } = dateRange;
const [{ startDate, endDate, unit, modified }] = useDateRange(websiteId);
const [timezone] = useTimezone();
const { query } = usePageQuery();
const shareToken = useShareToken();

View File

@ -68,7 +68,7 @@ export default function TestConsole() {
{show && (
<div className={classNames(styles.test, 'row')}>
<div className="col-4">
<PageHeader>Page links</PageHeader>Nmo
<PageHeader>Page links</PageHeader>
<div>
<Link href={`?page=1`}>
<a>page one</a>