Skip to content

Commit 7fb0c3f

Browse files
committed
Fix size of Cambridge logo on physics site
It was smaller than it used to be due to the 160px limit, but that did not seem necessary.
1 parent b6f0859 commit 7fb0c3f

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

src/app/components/site/phy/FooterPhy.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const FooterPhy = () => (
1010
<Row className="pt-5">
1111
<Col xl={{size: 3, offset: 0}}>
1212
<a href="https://www.cam.ac.uk/" target="_blank" rel="noopener" className="mt-2 mb-1">
13-
<img src="/assets/common/logos/university_of_cambridge.svg" alt='University of Cambridge website' width="160px" className='footer-org-logo' />
13+
<img src="/assets/common/logos/university_of_cambridge.svg" alt='University of Cambridge website' className='footer-org-logo' />
1414
</a>
1515
<div className="logo-text">
1616
Funded by {' '} <ExternalLink href="https://www.cam.ac.uk/" className="d-inline">
@@ -19,7 +19,7 @@ export const FooterPhy = () => (
1919
<br />
2020
Supported by {' '} <ExternalLink href="https://www.gov.uk/government/organisations/department-for-education" className="d-inline">
2121
<u>Department for Education</u>
22-
</ExternalLink> and {' '}
22+
</ExternalLink> and {' '}
2323
<ExternalLink href="https://www.ogdentrust.com/" className="d-inline">
2424
<u>The&nbsp;Ogden&nbsp;Trust</u>
2525
</ExternalLink>.
@@ -44,7 +44,7 @@ export const FooterPhy = () => (
4444
<Link to="/privacy">Privacy policy</Link>
4545
<Link to="/cookies">Cookie policy</Link>
4646
<Link to="/terms">Terms of use</Link>
47-
</Col>
48-
</Row>
47+
</Col>
48+
</Row>
4949
</footer>
5050
);

src/scss/phy/footer.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// Fluent footer theme
44
footer {
55
--focus-outline-color: #{$color-neutral-white};
6-
6+
77
background-color: $color-neutral-900;
88

99
li {
@@ -21,7 +21,7 @@ footer {
2121
color: $color-neutral-200;
2222
}
2323
}
24-
24+
2525
.logo-text {
2626
color: $color-neutral-200;
2727
font-size: 14px;
@@ -38,5 +38,6 @@ footer {
3838
}
3939

4040
.footer-org-logo {
41+
width: 100%;
4142
max-width: 12rem;
4243
}

0 commit comments

Comments
 (0)