Skip to content

Commit 5a97a11

Browse files
Update: MMW Logo Tweaks (#57)
- MMW Logo on mobile is now smaller, so it no longer pushes the search bar off-screen to the right. - MMW Logo on desktop reduced to 212px width, the same width as the explorer. Now it no longer stretches out to the right of the explorer and is instead vertically in-line with it
1 parent d9d684c commit 5a97a11

File tree

2 files changed

+26
-5
lines changed

2 files changed

+26
-5
lines changed

Diff for: quartz/components/PageTitle.tsx

+5-4
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,11 @@ PageTitle.css = `
2222
margin: 0;
2323
}
2424
.Logo {
25-
max-height: 650px;
26-
min-height: 50px;
27-
max-width: 240px;
28-
min-width: 50px;
25+
max-height: 195px;
26+
min-height: 50px;
27+
max-width: 212px;
28+
min-width: 50px;
29+
margin: 0;
2930
}
3031
`
3132

Diff for: quartz/styles/custom.scss

+21-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,27 @@
22
@use "./variables.scss" as *;
33

44
.page-title {
5-
height: 200px;
5+
height: 175px;
6+
}
7+
8+
/* --- MMW Logo on mobile display --- */
9+
10+
@media screen and (max-width:$mobileBreakpoint) {
11+
.Logo {
12+
max-height: 185px;
13+
min-height: 150px;
14+
max-width: 200px;
15+
min-width: 150px;
16+
}
17+
.page-title {
18+
height: 150px;
19+
}
20+
#quartz-body .sidebar.left {
21+
margin-top: 0.5rem;
22+
}
23+
.sidebar.left .spacer.mobile-only {
24+
flex: 0.5 0.5 auto;
25+
}
626
}
727

828
#explorer-ul {

0 commit comments

Comments
 (0)