🏡 index : ~doyle/chartered.git

author Jordan Doyle <jordan@doyle.la> 2021-10-18 20:16:21.0 +01:00:00
committer Jordan Doyle <jordan@doyle.la> 2021-10-18 20:16:21.0 +01:00:00
commit
69fade9bafb3df001a87053f63cdcb68913fce7c [patch]
tree
7af3eca9da59c226b6a25b1ab23655f381dc6fb6
parent
d7ea9b65c7a70535d14dee1a7ce15e1ac1b9c195
download
69fade9bafb3df001a87053f63cdcb68913fce7c.tar.gz

css fixes on crate view page



Diff

 chartered-frontend/src/index.sass                | 3 +++
 chartered-frontend/src/pages/crate/CrateView.tsx | 8 ++++++--
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/chartered-frontend/src/index.sass b/chartered-frontend/src/index.sass
index 4ebadbe..d5aeecc 100644
--- a/chartered-frontend/src/index.sass
+++ a/chartered-frontend/src/index.sass
@@ -25,6 +25,9 @@
    pre &
        padding: 0

p:last-of-type
    margin-bottom: 0

td.fit, th.fit
    width: 0.1%
    white-space: nowrap
diff --git a/chartered-frontend/src/pages/crate/CrateView.tsx b/chartered-frontend/src/pages/crate/CrateView.tsx
index 5af39b7..bb45286 100644
--- a/chartered-frontend/src/pages/crate/CrateView.tsx
+++ a/chartered-frontend/src/pages/crate/CrateView.tsx
@@ -336,9 +336,11 @@
    return <div className="card-body">{error}</div>;
  } else if (!response) {
    return (
      <div className="d-flex justify-content-center align-items-center">
        <div className="spinner-border text-light" role="status">
          <span className="visually-hidden">Loading...</span>
      <div className="card-body">
        <div className="d-flex justify-content-center align-items-center">
          <div className="spinner-border text-light" role="status">
            <span className="visually-hidden">Loading...</span>
          </div>
        </div>
      </div>
    );