Skip to content

Commit

Permalink
Fixes styles and fonts (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
agusmoles authored Oct 26, 2023
1 parent fccca47 commit 7b3a2ac
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion public/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -409,14 +409,14 @@ function App() {
<article className="description">
<h3>Thank you so much for using the app!</h3>

{successfullyUnfollowed?.length && (
{successfullyUnfollowed?.length !== 0 && (
<p>
<strong>✔ Unfollowed users:</strong>{" "}
<ul>{successfullyUnfollowed}</ul>
</p>
)}

{failedUnfollowed?.length && (
{failedUnfollowed?.length !== 0 && (
<p>
<strong>❌ Failed to unfollow:</strong>{" "}
<ul>{failedUnfollowed}</ul>
Expand Down
5 changes: 4 additions & 1 deletion src/styles/index.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
:root {
--black: #000;
--white: #fff;
--lightOrange: #f09433;
--orange: #e6683c;
Expand All @@ -21,7 +22,8 @@
box-sizing: border-box;
padding: 0;
margin: 0;
font-family: "Roboto";
font-family: "Roboto", "Noto Sans", "Droid Sans", "Helvetica", Arial,
sans-serif;
}

button {
Expand Down Expand Up @@ -83,6 +85,7 @@ body {
.scan-btn {
border-radius: 50%;
background: var(--white);
color: var(--black);
text-align: center;
padding: 10px;
border: 0;
Expand Down

0 comments on commit 7b3a2ac

Please sign in to comment.