Fix content spacing on details and drafts pages

This commit is contained in:
austinkelsay 2024-03-28 20:11:51 -05:00
parent 6ef8f2cb88
commit 8a5d90fd53
2 changed files with 2 additions and 2 deletions

View File

@ -134,7 +134,7 @@ export default function Details() {
</div>
</div>
</div>
<div className='w-[75vw] mx-auto mt-32 p-12 border-t-2 border-gray-300 max-tab:p-0 max-mob:p-0 max-tab:max-w-[100vw] max-mob:max-w-[100vw]'>
<div className='w-[75vw] mx-auto mt-12 p-12 border-t-2 border-gray-300 max-tab:p-0 max-mob:p-0 max-tab:max-w-[100vw] max-mob:max-w-[100vw]'>
{
processedEvent?.content && <MarkdownContent content={processedEvent.content} />
}

View File

@ -229,7 +229,7 @@ export default function Details() {
<div className='w-[75vw] mx-auto flex flex-row justify-end mt-12'>
<Button onClick={handleSubmit} label="Publish" severity='success' outlined className="w-auto my-2" />
</div>
<div className='w-[75vw] mx-auto mt-24 p-12 border-t-2 border-gray-300 max-tab:p-0 max-mob:p-0 max-tab:max-w-[100vw] max-mob:max-w-[100vw]'>
<div className='w-[75vw] mx-auto mt-12 p-12 border-t-2 border-gray-300 max-tab:p-0 max-mob:p-0 max-tab:max-w-[100vw] max-mob:max-w-[100vw]'>
{
draft?.content && <MarkdownContent content={draft.content} />
}