style: adjust margins and heights in News component

The changes were made to adjust the margins and heights in the News component.
This commit is contained in:
Team 1280 Programming 2024-02-20 15:31:35 -08:00 committed by Team 1280 Programming Laptop
parent 38032e1c7f
commit 65c6545e3a
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ export default function News() {
<div
className={
inter.className +
' mt-6 bg-slate-800 rounded-lg p-6 w-full basis-full md:basis-2/5 my-4 lg:my-0 max-h-[250px] overflow-y-auto shadow-slate-500 shadow-sm'
' mt-6 bg-slate-800 rounded-lg p-6 w-full basis-full md:basis-2/5 my-4 lg:my-0 max-h-[350px] overflow-y-auto shadow-slate-500 shadow-sm'
}
>
<div className={zillaSlab.className + ' text-3xl text-slate-200'}>

View file

@ -75,7 +75,7 @@ const AuthorDisplay = ({ authors, affiliations }: AuthorDisplayProps) => {
export default function Home() {
return (
<div className='text-slate-800 flex flex-wrap md:flex-row justify-center'>
<p className='font-serif text-lg basis-full md:basis-1/2 grow mr-1 text-balance'>
<p className='font-serif text-lg basis-full md:basis-1/2 grow mr-6 text-balance'>
eeXiv, like arXiv, is a free distribution service and an open-access
archive for over {Object.keys(documents).length} scholarly articles in
the fields of physics, mathematics, computer science, quantitative