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'
|
||||
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
|
||||
groupClassName='mb-0 ms-2'
|
||||
groupClassName='mb-0'
|
||||
className='w-auto'
|
||||
name='type'
|
||||
size='sm'
|
||||
|
@ -46,11 +46,10 @@ export default function TopHeader ({ sub, cat }) {
|
||||
initial={{ what, by, when, from: '', to: '' }}
|
||||
onSubmit={top}
|
||||
>
|
||||
<div className='text-muted fw-bold my-3 d-flex align-items-center flex-wrap'>
|
||||
<div className='text-muted fw-bold my-2 d-flex align-items-center'>
|
||||
top
|
||||
<div className='text-muted fw-bold mt-1 mb-3 d-flex align-items-center flex-wrap'>
|
||||
<div className='text-muted fw-bold mb-2 d-flex align-items-center'>
|
||||
<Select
|
||||
groupClassName='mx-2 mb-0'
|
||||
groupClassName='me-2 mb-0'
|
||||
onChange={(formik, e) => top({ ...formik?.values, what: e.target.value })}
|
||||
name='what'
|
||||
size='sm'
|
||||
|
Loading…
x
Reference in New Issue
Block a user