Skip to content

Commit

Permalink
id -> className
Browse files Browse the repository at this point in the history
  • Loading branch information
jovianw committed Oct 21, 2023
1 parent 7b22484 commit 93b8459
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/components/Signin.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
}

#signin {
.signin {
min-height: 30vh;
max-height: 200px;
background-color: var(--darker-color);
Expand All @@ -27,7 +27,7 @@
animation-timing-function: ease;
}

#signin-container {
.signin-container {
display: flex;
justify-content: center;
gap: 20px;
Expand All @@ -43,7 +43,7 @@
border: 3px solid var(--highlight-color);
}

#signin-exit {
.signin-exit {
position: absolute;
top: 1em;
right: 1em;
Expand Down
6 changes: 3 additions & 3 deletions src/components/Signin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ function Signin({ showSignin, setShowSignin }: Props) {

return (
showSignin && (
<div id="signin">
<div className="signin">
<button
id="signin-exit"
className="signin-exit"
onClick={() => {
setShowSignin(false);
}}
Expand All @@ -62,7 +62,7 @@ function Signin({ showSignin, setShowSignin }: Props) {
) : (
<h3>Sign in to comment</h3>
)}
<div id="signin-container">
<div className="signin-container">
<img
src="/google_logo.png"
alt="google sign-on"
Expand Down

0 comments on commit 93b8459

Please sign in to comment.