Changed rem to px aside from font-size
Good code practice
This commit is contained in:
@ -106,8 +106,8 @@ function create() {
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 6.25rem;
|
||||
padding: 0 5rem;
|
||||
gap: 100px;
|
||||
padding: 0 80px;
|
||||
&::before {
|
||||
content: '';
|
||||
}
|
||||
@ -115,7 +115,7 @@ function create() {
|
||||
.characters-wrapper {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 5rem;
|
||||
gap: 80px;
|
||||
width: 100%;
|
||||
|
||||
.character {
|
||||
@ -154,7 +154,7 @@ function create() {
|
||||
|
||||
span {
|
||||
align-self: center;
|
||||
font-size: 16px;
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
@ -243,10 +243,10 @@ function create() {
|
||||
|
||||
button {
|
||||
padding: 8px 10px 8px 20px;
|
||||
min-width: 6.25rem;
|
||||
min-width: 100px;
|
||||
position: relative;
|
||||
border-radius: 5px;
|
||||
font-size: 18px;
|
||||
font-size: 1.125rem;
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
|
Reference in New Issue
Block a user