small fix

This commit is contained in:
Nikolai Petukhov 2024-09-21 17:25:03 +03:00
parent 762c4867b7
commit 2a881f3920
3 changed files with 20 additions and 1 deletions

View File

@ -43,6 +43,10 @@ const Card = (props) => {
transition: color 0.3s ease-in; transition: color 0.3s ease-in;
} }
h2 {
margin-top: 0;
}
&:hover { &:hover {
box-shadow: 0 10px 40px rgb(${hexToRgb(props.color)}); box-shadow: 0 10px 40px rgb(${hexToRgb(props.color)});
cursor: pointer; cursor: pointer;
@ -56,7 +60,7 @@ const Card = (props) => {
flex-direction: column; flex-direction: column;
border-radius: 2vh; border-radius: 2vh;
padding: 3vw; padding: 5vw;
} }
` `

View File

@ -34,6 +34,8 @@
margin-left: 4vw; margin-left: 4vw;
margin-right: 4vw; margin-right: 4vw;
padding-top: 0;
} }
.ChatsList { .ChatsList {

View File

@ -17,3 +17,16 @@
font-weight: bold; font-weight: bold;
} }
@media only screen and (max-width: 800px) {
.MyButton.singleNavButton p {
font-size: 2.5vh;
}
.MyButton.singleNavButton {
min-width: 60vw;
border-radius: 30vh;
margin-top: 3vh;
}
}