Quellcode durchsuchen

Login, Registration buttons margin added

pocu46 vor 3 Jahren
Ursprung
Commit
c838c68a8f

+ 1 - 1
hipstagram/src/Content/Login/Login.css

@@ -30,7 +30,7 @@
     border: 2px solid greenyellow;
 }
 
-.login-wrapper a {
+.login-wrapper__link {
     text-align: center;
     color: blue;
     margin: 15px;

+ 1 - 1
hipstagram/src/Content/Login/Login.js

@@ -49,7 +49,7 @@ const Login = ({onLogin = null, checkLogin = false, promiseLoginStatus, payloadL
                 <b>Login</b>
             </button>
 
-            <nav>
+            <nav className='login-wrapper__link'>
                 <NavLink to="/registration">Registration</NavLink>
             </nav>
 

+ 1 - 1
hipstagram/src/Content/Registration/Registration.css

@@ -30,7 +30,7 @@
     border: 2px solid greenyellow;
 }
 
-.registration-wrapper a {
+.registration-wrapper__link {
     text-align: center;
     color: blue;
     margin: 15px;

+ 1 - 1
hipstagram/src/Content/Registration/Registration.js

@@ -60,7 +60,7 @@ const Registration = ({onRegistration}) => {
                 <b>Registration</b>
             </button>
 
-            <nav>
+            <nav className='registration-wrapper__link'>
                 <NavLink to="/login">Login</NavLink>
             </nav>