Browse Source

style: fix sync indicator container

charlie 5 years ago
parent
commit
553b3fe529
2 changed files with 7 additions and 1 deletions
  1. 1 1
      src/main/frontend/components/repo.cljs
  2. 6 0
      src/main/frontend/components/repo.css

+ 1 - 1
src/main/frontend/components/repo.cljs

@@ -106,7 +106,7 @@
                 last-pulled-at (db/sub-key-value repo :git/last-pulled-at)
                 ;; db-persisted? (state/sub [:db/persisted? repo])
                 editing? (seq (state/sub :editor/editing?))]
-            [:div.flex-row.flex.items-center
+            [:div.flex-row.flex.items-center.cp__repo-indicator
              (when pushing?
                [:span.lds-dual-ring.mt-1])
              (ui/dropdown

+ 6 - 0
src/main/frontend/components/repo.css

@@ -0,0 +1,6 @@
+.cp__repo-indicator {
+  .sync-content {
+    max-height: 80vh;
+    overflow: auto;
+  }
+}