🏡 index : ~doyle/chartered.git

author Jordan Doyle <jordan@doyle.la> 2021-09-20 0:09:58.0 +01:00:00
committer Jordan Doyle <jordan@doyle.la> 2021-09-20 0:09:58.0 +01:00:00
commit
03179cd83e33dc2ef2e3cce1329751aed2ca215d [patch]
tree
6948dc9a6a39a857ae14c28e9ad5bd71cdf73567
parent
8cbac7a5b715f8ae4c7a6a345cce5f9294fe8731
download
03179cd83e33dc2ef2e3cce1329751aed2ca215d.tar.gz

Fix links spacing



Diff

 chartered-frontend/src/pages/crate/CrateView.tsx | 36 +++++++++++++++++++++++++++---------
 1 file changed, 27 insertions(+), 9 deletions(-)

diff --git a/chartered-frontend/src/pages/crate/CrateView.tsx b/chartered-frontend/src/pages/crate/CrateView.tsx
index 8a23aaf..d945f66 100644
--- a/chartered-frontend/src/pages/crate/CrateView.tsx
+++ a/chartered-frontend/src/pages/crate/CrateView.tsx
@@ -100,15 +100,33 @@

          <div className="col-md-6">
            <div className="card border-0 shadow-sm text-black h-100">
              <div className="card-body">
                <HouseDoor />{" "}
                <a href={crateInfo.homepage}>{crateInfo.homepage}</a>
                <br />
                <Book />{" "}
                <a href={crateInfo.documentation}>{crateInfo.documentation}</a>
                <br />
                <Building />{" "}
                <a href={crateInfo.repository}>{crateInfo.repository}</a>
              <div className="card-body d-flex flex-column justify-content-center">
                {crateInfo.homepage ? (
                  <div>
                    <HouseDoor />{" "}
                    <a href={crateInfo.homepage}>{crateInfo.homepage}</a>
                  </div>
                ) : (
                  <></>
                )}
                {crateInfo.documentation ? (
                  <div>
                    <Book />{" "}
                    <a href={crateInfo.documentation}>
                      {crateInfo.documentation}
                    </a>
                  </div>
                ) : (
                  <></>
                )}
                {crateInfo.repository ? (
                  <div>
                    <Building />{" "}
                    <a href={crateInfo.repository}>{crateInfo.repository}</a>
                  </div>
                ) : (
                  <></>
                )}
              </div>
            </div>
          </div>