Skip to content

Commit 2fcd564

Browse files
committed
Contribution page: reduce vertical spacing on smaller screens
1 parent 5fc6498 commit 2fcd564

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

src/css/unison-share/page/project-contribution-changes-page.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,11 @@
540540
}
541541

542542
@media only screen and (--u-viewport_max-lg) {
543+
.project-contribution-page:has(.project-contribution-changes-page)
544+
.page-title {
545+
padding-top: 0.5rem;
546+
}
547+
543548
.project-contribution-changes-page {
544549
& .change-tree {
545550
display: none;

src/css/unison-share/page/project-contribution-overview-page.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,3 +128,16 @@
128128
}
129129
}
130130
}
131+
132+
@media only screen and (--u-viewport_max-lg) {
133+
.project-contribution-page:has(.project-contribution-overview-page)
134+
.page
135+
.page-content {
136+
padding-top: 1rem;
137+
}
138+
139+
.project-contribution-page:has(.project-contribution-overview-page)
140+
.page-title {
141+
padding-top: 0.5rem;
142+
}
143+
}

0 commit comments

Comments
 (0)