make recent/top have consistent spacing
This commit is contained in:
parent
e1f183f48a
commit
316418327a
@ -15,9 +15,9 @@ export default function RecentHeader ({ type, sub }) {
|
|||||||
|
|
||||||
type ||= router.query.type || type || 'posts'
|
type ||= router.query.type || type || 'posts'
|
||||||
return (
|
return (
|
||||||
<div className='text-muted fw-bold mt-0 mb-3 d-flex justify-content-end align-items-center'>
|
<div className='text-muted fw-bold mt-1 mb-3 d-flex justify-content-start align-items-center'>
|
||||||
<Select
|
<Select
|
||||||
groupClassName='mb-0 ms-2'
|
groupClassName='mb-0'
|
||||||
className='w-auto'
|
className='w-auto'
|
||||||
name='type'
|
name='type'
|
||||||
size='sm'
|
size='sm'
|
||||||
|
@ -46,11 +46,10 @@ export default function TopHeader ({ sub, cat }) {
|
|||||||
initial={{ what, by, when, from: '', to: '' }}
|
initial={{ what, by, when, from: '', to: '' }}
|
||||||
onSubmit={top}
|
onSubmit={top}
|
||||||
>
|
>
|
||||||
<div className='text-muted fw-bold my-3 d-flex align-items-center flex-wrap'>
|
<div className='text-muted fw-bold mt-1 mb-3 d-flex align-items-center flex-wrap'>
|
||||||
<div className='text-muted fw-bold my-2 d-flex align-items-center'>
|
<div className='text-muted fw-bold mb-2 d-flex align-items-center'>
|
||||||
top
|
|
||||||
<Select
|
<Select
|
||||||
groupClassName='mx-2 mb-0'
|
groupClassName='me-2 mb-0'
|
||||||
onChange={(formik, e) => top({ ...formik?.values, what: e.target.value })}
|
onChange={(formik, e) => top({ ...formik?.values, what: e.target.value })}
|
||||||
name='what'
|
name='what'
|
||||||
size='sm'
|
size='sm'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user