Skip to content

Commit

Permalink
fix: fun/secondary-info horizontal overflows
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Aug 15, 2024
1 parent 0a784ce commit fb83dd1
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions src/components/FunInfo.astro
Original file line number Diff line number Diff line change
Expand Up @@ -73,26 +73,30 @@ const sections = [
line-height: var(--lineHeightSecondary);
}

@media (min-width: 560px) {
@media (min-width: 700px) {
.secondary-info {
justify-content: center;
}

.item {
width: calc(49% - 0.5rem);
max-width: calc(40% - 1.5rem);
padding: 0 0.25rem;
}
}

@media (min-width: 819px) {
@media (min-width: 1170px) {
.secondary-info {
padding: 0;
justify-content: space-between;
}

.item {
width: calc(24% - 0.25rem);
min-width: 12rem;
padding: 0 0.25rem;
}
}

@media (min-width: 1017px) {
@media (min-width: 1400px) {
.secondary-info {
width: calc(100% + 2rem);
}
Expand Down

0 comments on commit fb83dd1

Please sign in to comment.