1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 01:33:33 +00:00

Block save button when uploading a send (#871)

* Block save button when uploading a send

* Add overflow hidden to prevent scrollbar appearing
This commit is contained in:
Oscar Hinton
2021-05-04 23:36:57 +02:00
committed by GitHub
parent 3a342be095
commit 2bdd7413aa
3 changed files with 32 additions and 5 deletions

View File

@@ -86,3 +86,29 @@
}
}
}
.btn-submit {
position: relative;
overflow: hidden;
.fa-spinner {
position: absolute;
display: none;
align-items: center;
justify-content: center;
bottom: 0;
top: 0;
left: 0;
right: 0;
}
&:disabled:not(.manual), &.loading {
.fa-spinner {
display: flex;
}
span {
visibility: hidden;
}
}
}