Skip to content

Commit

Permalink
Make mobile page height static
Browse files Browse the repository at this point in the history
  • Loading branch information
KojoBailey committed Nov 29, 2024
1 parent 8cf901f commit f21546a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ p {
z-index: -1;
background: linear-gradient(to bottom, rgba(238, 255, 1, 0.02), rgba(11, 25, 41, 0.73)), url("../assets/images/backgrounds/Background.png") repeat;
background-size: 150px;
height: 100vh;
height: 100%;
width: 5076px;
animation: slide 60s linear infinite;
}
Expand Down Expand Up @@ -255,6 +255,10 @@ p {
/* MOBILE */

@media only screen and (max-width: 768px) {
.bg-container {
height: 660px;
}

.jjbmc-logo {
position: absolute;
top: 65px;
Expand Down
1 change: 1 addition & 0 deletions src/styles/news.css
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@
aspect-ratio: 1 / 1;
width: 18dvw;
height: auto;
align-items: center;
}
.icon p {
display: none;
Expand Down

0 comments on commit f21546a

Please sign in to comment.