Skip to content

Commit

Permalink
fix pixel changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kavigupta committed Sep 7, 2024
1 parent 39cb058 commit 9d691cf
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 22 deletions.
3 changes: 1 addition & 2 deletions react/src/components/statistic-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,7 @@ function SelectPage(props: {
}}
/>
<span>
{' '}
of
{' of '}
{props.max_pages}
</span>
</div>
Expand Down
4 changes: 1 addition & 3 deletions react/src/components/table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -523,9 +523,7 @@ export function Ordinal(props: { ordinal: number, total: number, type: string, s
return (
<div className="serif" style={{ textAlign: 'right' }}>
{en}
{' '}
of
{' '}
{' of '}
{total}
{' '}
{display_type(curr_universe, type)}
Expand Down
23 changes: 7 additions & 16 deletions react/src/page_template/template.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,22 +79,15 @@ export function PageTemplate({
function TemplateFooter(): ReactNode {
return (
<div className="centered_text">
Urban Stats Version
{' '}
{'Urban Stats Version '}
<Version />
{' '}
by
{' '}
{' by '}
<MainCredits />
. Last updated
{' '}
{'. Last updated '}
<LastUpdated />
.
{' '}
{'. '}
<OtherCredits />
{' '}
Not for commercial use.
{' '}
{' Not for commercial use. '}
<Support />
</div>
)
Expand All @@ -115,8 +108,7 @@ function MainCredits(): ReactNode {
function OtherCredits(): ReactNode {
return (
<span>
Significant help with weather data from
{' '}
{'Significant help with weather data from '}
<a href="https://twitter.com/OklahomaPerson">OklahomaPerson</a>
.
</span>
Expand Down Expand Up @@ -150,8 +142,7 @@ function LeftPanel(): ReactNode {
function Support(): ReactNode {
return (
<span>
If you find urbanstats useful, please donate on
{' '}
{'If you find urbanstats useful, please donate on '}
<a href="https://ko-fi.com/notkavi">kofi</a>
!
</span>
Expand Down
2 changes: 1 addition & 1 deletion react/src/quiz/quiz-components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export function UserId(): ReactNode {
else {
return (
<div>
Your user id is
{'Your user id is '}
<span className="juxtastat-user-id">{user_id}</span>
</div>
)
Expand Down

1 comment on commit 9d691cf

@lukebrody
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noooo lmao

Please sign in to comment.