-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed css to avoid having overlapping content
- Loading branch information
Showing
21 changed files
with
213 additions
and
278 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
import classes from "./Backdrop.module.css"; | ||
|
||
function Backdrop({ onClick, zIndex}) { | ||
return <div className={classes.backdrop} onClick={onClick} style={{ zIndex: zIndex}}/>; | ||
function Backdrop({ onClick, zIndex }) { | ||
return ( | ||
<div | ||
className={classes.backdrop} | ||
onClick={onClick} | ||
style={{ zIndex: zIndex }} | ||
/> | ||
); | ||
} | ||
|
||
export default Backdrop; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,17 @@ | ||
.error { | ||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); | ||
border-radius: 6px; | ||
background-color: white; | ||
padding: 1rem; | ||
text-align: center; | ||
width: 30rem; | ||
z-index: 15; | ||
position: fixed; | ||
top: 20vh; | ||
left: calc(50% - 15rem); | ||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); | ||
border-radius: 6px; | ||
background-color: white; | ||
padding: 1rem; | ||
text-align: center; | ||
width: 30rem; | ||
z-index: 15; | ||
position: fixed; | ||
top: 20vh; | ||
left: calc(50% - 15rem); | ||
} | ||
|
||
.text { | ||
font-weight: bolder; | ||
padding: 20px; | ||
font-weight: bolder; | ||
padding: 20px; | ||
} | ||
|
||
.actions button { | ||
font: inherit; | ||
cursor: pointer; | ||
color: #77002e; | ||
border: 1px solid #77002e; | ||
background-color: transparent; | ||
padding: 0.5rem 1.5rem; | ||
margin: 3px; | ||
border-radius: 4px; | ||
} | ||
|
||
.actions button:hover, | ||
.actions button:active { | ||
background-color: #ffe2ed; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
.card { | ||
background-color: white; | ||
background-color: #ffffff; | ||
border-radius: 10px; | ||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.