Skip to content

Commit

Permalink
bug fix: about page doesn't work in iOS light mode (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelchin authored Aug 30, 2022
1 parent 243975e commit 0f45777
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
android/.idea/
resources/android/icon
resources/android/splash
resources/ios/
Expand Down
9 changes: 9 additions & 0 deletions src/pages/AboutPage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
//border-color: var(--ion-color-dark);
//border-radius: 0.5rem;
padding: 0 0.5rem;
margin-bottom: 40px;
}

.about-page-intro-text {
Expand All @@ -26,3 +27,11 @@
height: 1rem;
margin: 0 0 0.6rem 0;
}

.about-page-copyright {
position: absolute;
bottom: 20px;
right: 5px;
font-style: italic;
font-size: small;
}
10 changes: 1 addition & 9 deletions src/pages/AboutPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,7 @@ export const AboutPage: React.FC<ContainerProps> = () => {
</p>
<br />
</div>
<div
style={{
position: 'absolute',
bottom: 0,
right: 0,
fontStyle: 'italic',
fontSize: 'small',
}}
>
<div className={'about-page-copyright'}>
Copyright © 2022 The University of Sydney. All rights reserved.
</div>
</IonContent>
Expand Down
4 changes: 0 additions & 4 deletions src/pages/Main.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
ion-content {
--background: black;
}

/* The animation code */
@keyframes outline-animation {
0% {
Expand Down

0 comments on commit 0f45777

Please sign in to comment.