From f91228bb7bce8eede8141fc24784352440c62ff1 Mon Sep 17 00:00:00 2001 From: Camerin Figueroa Date: Sun, 5 Jun 2022 09:00:12 -0400 Subject: [PATCH] Fixed text alignment in github page --- public/index.html | 23 --------------------- src/components/css/Github.css | 12 +++++------ src/components/subcomponents/GithubRepos.js | 9 ++++---- 3 files changed, 11 insertions(+), 33 deletions(-) diff --git a/public/index.html b/public/index.html index d5c0374..e5494dc 100644 --- a/public/index.html +++ b/public/index.html @@ -10,35 +10,12 @@ content="Web site created using create-react-app" /> - - Cam's Portfolio
- diff --git a/src/components/css/Github.css b/src/components/css/Github.css index fb8cda1..6b30029 100644 --- a/src/components/css/Github.css +++ b/src/components/css/Github.css @@ -65,12 +65,13 @@ } .repo .languages { - align-items: center; display: flex; flex-direction: row; - padding: 10px; - width: 100%; flex-wrap: wrap; + align-content: center; + align-items: center; + padding: 5px; + width: 100%; } .repo .language { @@ -80,12 +81,11 @@ border-radius: 10px; background-color: #756B6A; color: #DAD4DF; + font-size: medium; } -.repo .times { +.repo .time { padding: 5px; - margin: 2px; - margin-left: 5px; width: 100%; text-align: start; } diff --git a/src/components/subcomponents/GithubRepos.js b/src/components/subcomponents/GithubRepos.js index 7209118..4b6baaf 100644 --- a/src/components/subcomponents/GithubRepos.js +++ b/src/components/subcomponents/GithubRepos.js @@ -74,10 +74,11 @@ class GithubRepos extends React.Component { this.renderLanguages(repo.name) // Render each language for the repo } -
- Last Updated: {updated} -
- Created: {created} +
+ Last Updated: {updated} +
+
+ Created: {created}