Skip to content

Commit

Permalink
feat: added responsiveness for tablets and learn more button
Browse files Browse the repository at this point in the history
Added responsiveness for tablets and fixed a button collapse for all screen.
  • Loading branch information
bandhan-majumder authored Nov 14, 2024
1 parent 1efdbd7 commit 4355698
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,7 @@
.ActionButton.primary {
color: var(--dark);
background-color: #FEBC59;
text-wrap: nowrap;
}

.ActionButton.primary:hover {
Expand Down Expand Up @@ -543,6 +544,27 @@

}

/* responsiveness for tablets */

@media only screen and (min-width: 481px) and (max-width: 960px) {
.ActionButton {
max-width: 100%;
width: 100%;
display: block;
white-space: nowrap;
}

.ActionButton.secondary {
margin-top: 1rem;
margin-left: auto;
}

.custom-image {
width: 80%;
}

}

/* Heading */

.Heading {
Expand Down

0 comments on commit 4355698

Please sign in to comment.