feat: change button design, change textpic mobile layout
This commit is contained in:
parent
ba359c07a5
commit
58d041c473
3 changed files with 15 additions and 14 deletions
|
|
@ -3,6 +3,7 @@
|
|||
grid-template-columns: repeat(6, 1fr);
|
||||
gap: 1rem;
|
||||
grid-auto-rows: auto;
|
||||
margin-bottom: 1rem; /* Ensure space below the news list */
|
||||
|
||||
.news-list-item {
|
||||
grid-column: span 6;
|
||||
|
|
@ -131,9 +132,9 @@
|
|||
}
|
||||
}
|
||||
|
||||
/* Show mobile button only below desktop breakpoint, add space above */
|
||||
/* Show mobile button only below desktop breakpoint, inline-block and margin-top */
|
||||
.mobile-btn {
|
||||
margin-top: 2rem; /* Added space between the news list and the show all button */
|
||||
display: inline-block;
|
||||
@media (min-width: $breakpoint-lg) {
|
||||
display: none;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue