File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ const ButtonAndProgress: Component<{ loading: boolean; onClick: VoidFunction }>
8888 return < CircularProgressIndicator aria-label = { "Laster inn flere arrangementer" } />
8989 }
9090 return (
91- < Button className = { "mx-auto w-min " } onClick = { onClick } >
91+ < Button className = { "w-fit " } onClick = { onClick } >
9292 Se mer
9393 </ Button >
9494 )
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ const EventCard: Component<EventCardProps> = ({
2727 bottom = {
2828 < LinkButton
2929 href = { "arrangement" }
30- className = { "mx-auto w-fit" }
30+ className = { "w-fit" }
3131 aria-label = { "Vis flere arrangementer" } >
3232 Vis mer
3333 </ LinkButton >
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ const InfoCard: Component<EventCardProps> = ({
2929 < div > { children } </ div >
3030 </ div >
3131
32- < div > { bottom } </ div >
32+ < div className = { "flex justify-center" } > { bottom } </ div >
3333 </ div >
3434)
3535
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ export async function getPastEvents(
9090 return cdnClient . fetch (
9191 `
9292 *[
93- _type == "event" && (defined(end_time) && end_time < now() || !defined(end_time) && start_time < $now)) && start_time < $last_start_time
93+ _type == "event" && (defined(end_time) && end_time < now() || !defined(end_time) && start_time < $now) && start_time < $last_start_time
9494 ] | order(start_time desc)[0...$limit]
9595 ` ,
9696 {
You can’t perform that action at this time.
0 commit comments