From 40c108f5ed1614667f448f8cfc31f820528f64c3 Mon Sep 17 00:00:00 2001 From: Brandon Labuschagne Date: Mon, 18 Mar 2019 14:49:31 +0000 Subject: [PATCH] Resolve "Spinners are active prematurely in Bitbucket Cloud import" --- app/assets/stylesheets/pages/import.scss | 12 ++++++++++++ ...-active-prematurely-in-bitbucket-cloud-import.yml | 5 +++++ 2 files changed, 17 insertions(+) create mode 100644 changelogs/unreleased/58889-spinners-are-active-prematurely-in-bitbucket-cloud-import.yml diff --git a/app/assets/stylesheets/pages/import.scss b/app/assets/stylesheets/pages/import.scss index 7f800367cad..20240835fda 100644 --- a/app/assets/stylesheets/pages/import.scss +++ b/app/assets/stylesheets/pages/import.scss @@ -49,3 +49,15 @@ .import-projects-loading-icon { margin-top: $gl-padding-32; } + +.btn-import { + .loading-icon { + display: none; + } + + &.is-loading { + .loading-icon { + display: inline-block; + } + } +} diff --git a/changelogs/unreleased/58889-spinners-are-active-prematurely-in-bitbucket-cloud-import.yml b/changelogs/unreleased/58889-spinners-are-active-prematurely-in-bitbucket-cloud-import.yml new file mode 100644 index 00000000000..ec357d9a832 --- /dev/null +++ b/changelogs/unreleased/58889-spinners-are-active-prematurely-in-bitbucket-cloud-import.yml @@ -0,0 +1,5 @@ +--- +title: Fix continuous bitbucket import loading spinner +merge_request: 26175 +author: +type: fixed