mirror of
https://github.com/yude-jp/yude.jp
synced 2025-12-16 20:54:17 +09:00
Cleanup margin styling
This commit is contained in:
@@ -28,7 +28,7 @@ const Dropdown = ({ color }) => {
|
||||
return (
|
||||
<>
|
||||
|
||||
<div className="text-left mr-2 my-3 float-right">
|
||||
<div className="text-left mr-2 ml-2 my-3 float-right">
|
||||
<button type="button" className="inline-flex justify-center w-full rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-indigo-500" id="options-menu" aria-haspopup="true" aria-expanded="true"
|
||||
style={{ transition: "all .15s ease" }}
|
||||
ref={btnDropdownRef}
|
||||
|
||||
@@ -8,7 +8,7 @@ const Navbar = () => {
|
||||
<>
|
||||
<nav className='flex items-center flex-wrap p-3'>
|
||||
<Link href='/'>
|
||||
<a className='inline-flex items-center p-2 mr-4'>
|
||||
<a className='inline-flex items-center p-2'>
|
||||
<span className='text-xl text-black font-bold tracking-wide dark:text-white font-mono animate-heartbeat'>
|
||||
yude.jp
|
||||
</span>
|
||||
|
||||
@@ -23,7 +23,7 @@ const Layout = (props) => {
|
||||
}
|
||||
};
|
||||
return (
|
||||
<button className="my-4 mx-3 text-2xl" onClick={switchTheme}>
|
||||
<button className="my-4 text-2xl" onClick={switchTheme}>
|
||||
{theme === 'light' ? (
|
||||
<span>🌙</span>
|
||||
) : (
|
||||
|
||||
Reference in New Issue
Block a user