样式动画微调

This commit is contained in:
tangly1024
2023-01-04 17:28:40 +08:00
parent 324dadbbd1
commit bf25721e84
11 changed files with 23 additions and 23 deletions

View File

@@ -23,7 +23,7 @@ export const Nav = (props) => {
return (
<nav className="w-full bg-white md:pt-0 px-6 relative z-20 border-t border-b border-gray-light dark:border-hexo-black-gray dark:bg-black">
<div className="container mx-auto max-w-4xl md:flex justify-between items-center text-sm md:text-md md:justify-start">
<div className="w-full md:w-2/3 text-center md:text-left py-4 flex flex-wrap justify-center items-stretch md:justify-start md:items-start">
<div className="w-full text-center md:text-left py-4 flex flex-wrap justify-center items-stretch md:justify-start md:items-start">
{links.map(link => {
return link && <Link
href={link.to}
@@ -32,7 +32,7 @@ export const Nav = (props) => {
{link.name}
</Link>;
</Link>
})}
</div>
<div className="w-full md:w-1/3 text-center md:text-right">
@@ -40,5 +40,5 @@ export const Nav = (props) => {
</div>
</div>
</nav>
);
)
}