Skip to content

Commit

Permalink
gallery - responsive design adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
schoad committed Jan 16, 2025
1 parent 0e529bb commit 9d72b7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
2 changes: 1 addition & 1 deletion gallery.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ input:checked + .slider:before {
.nft-gallery {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
gap: 10px;
overflow-y: auto;
padding: 20px;
margin-top: 20px; /* Change from 84px to match button spacing */
Expand Down
16 changes: 2 additions & 14 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -183,19 +183,6 @@ button:hover {
margin-top: 84px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
.auction-time, .header-bar {
width: calc(100% - 24px);
padding: 8px 12px;
}

.gallery-btn, .back-btn {
padding: 8px 16px;
height: 36px;
}
}

@media (max-width: 600px) {
.container, .gallery {
padding: 5px;
Expand All @@ -205,8 +192,9 @@ button:hover {
font-size: 10px;
}
.auction-time, .header-bar {
width: calc(100% - 24px);
padding: 8px 12px;
font-size: 1em;
height: 30px; /* Smaller height for mobile */
}
button {
font-size: 0.8em;
Expand Down

0 comments on commit 9d72b7e

Please sign in to comment.