feat(newsLetter): created mobile responsive news letter

This commit is contained in:
Marcello Rodrigues Martins 2023-01-06 20:23:50 -03:00
parent 6e4ef80d45
commit 3fe59ca188
2 changed files with 28 additions and 38 deletions

View File

@ -1,38 +1,5 @@
.App {
text-align: center;
}
.App-logo {
height: 40vmin;
pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
.App-logo {
animation: App-logo-spin infinite 20s linear;
}
}
.App-header {
background-color: #282c34;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
}
.App-link {
color: #61dafb;
}
@keyframes App-logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

View File

@ -36,7 +36,7 @@
font-weight: 400;
font-size: 14px;
padding: 11px 16px;
max-height: 36px;
max-height: 42px;
border: 1px solid #e5e5e5;
border-radius: 4px;
@ -61,3 +61,26 @@
}
}
}
@media screen and (max-width: 1024px) {
.firstDivNews {
width: 96.88% !important;
.firstH2 {
font-size: 14px;
}
.secondDivNews {
flex-direction: column;
width: 100%;
.newsInput {
width: 100% !important;
}
.newsButton {
width: 100% !important;
}
}
}
}