File tree Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -8,12 +8,13 @@ const ModeIcon = styled(({ ...props }) => <FontAwesomeIcon {...props} />)`
88 padding-left: 0;
99 display: inline-block;
1010 width: 1em;
11+ transform: translateX(0.5px); // To ensure alignment with parent site
1112`
1213
1314const Toggle = styled . li `
1415 display: block;
15- padding: 16px 15px ;
16- padding-left: 10px ; /* hacky override to match spacing (more or less) to parent site */
16+ padding: 0 0 ;
17+ padding-left: 4px ; /* hacky override to match spacing (more or less) to parent site */
1718`
1819
1920const modes = [ {
Original file line number Diff line number Diff line change @@ -96,7 +96,10 @@ const Logo = styled.a`
9696 // The main site sets a height, but that inflates and crops the image, so we need to do it in a wrapper div
9797`
9898
99- const LangIcon = styled ( ( { ...props } ) => < FontAwesomeIcon { ...props } /> ) ``
99+ const LangIcon = styled ( ( { ...props } ) => < FontAwesomeIcon { ...props } /> ) `
100+ transform: translateX(1px); // To ensure alignment with parent site
101+ padding-right: 1px;
102+ `
100103
101104// This isn't needed on the main site, but we seem to need it here to properly pad the cta in the mobile menu, and also to get it to take the full width
102105// noinspection CssUnknownProperty
Original file line number Diff line number Diff line change @@ -53,6 +53,8 @@ const MobileSubmenu = styled.ul`
5353const FlippyIcon = styled ( ( { isOpen, ...props } ) => (
5454 < FontAwesomeIcon { ...props } />
5555) ) `
56+ transform: translateX(-1px); // To ensure alignment with parent site
57+
5658 ${ ( { isOpen } ) =>
5759 isOpen &&
5860 `
@@ -64,7 +66,7 @@ const FlippyIcon = styled(({ isOpen, ...props }) => (
6466const MenuTitle = styled . div `
6567 display: flex;
6668 flex-direction: row;
67- gap: 3.8px ;
69+ gap: 6px ;
6870 justify-content: flex-end;
6971 align-items: center;
7072 padding: 0 14.4px; // Occult values to match the main site
Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ html {
169169}
170170
171171/** Adjustments for small screens */
172- @media screen and (max-width : 1366 px ) {
172+ @media screen and (max-width : 1024 px ) {
173173 html {
174174 --site-margins : 4rem ;
175175 --navbar-padding : 1.5rem ;
You can’t perform that action at this time.
0 commit comments