Skip to content

Commit

Permalink
Heading margin + copyright date + network name nowrap (#941)
Browse files Browse the repository at this point in the history
  • Loading branch information
quietbits authored Aug 15, 2023
1 parent 8e2852b commit 628dbd4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
line-height: 1.5rem;
font-weight: var(--font-weight-medium);
text-transform: uppercase;
white-space: nowrap;
}

&__network-selector {
Expand Down
10 changes: 10 additions & 0 deletions extension/src/popup/styles/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,16 @@ a {
li::before {
content: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
margin-top: 0;
margin-bottom: 0;
}
}

.simplebar-content {
Expand Down
3 changes: 2 additions & 1 deletion extension/src/popup/views/About/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const AboutLink = ({ children, url }: AboutLinkProps) => (

export const About = () => {
const { t } = useTranslation();
const currentYear = new Date().getFullYear();

return (
<div className="About">
Expand All @@ -49,7 +50,7 @@ export const About = () => {
</div>

<div className="About__copyright">
&copy; 2022 Stellar Development Foundation
{${currentYear} Stellar Development Foundation`}
</div>
</div>
);
Expand Down

0 comments on commit 628dbd4

Please sign in to comment.