Add separate dialog for recovery method removed

The "New Recovery Method" dialog would show if either the recovery method had
been changed or removed, but the dialog text didn't make much sense for the
removed case.

This adds a separate dialog customized for the removed case.

Fixes https://github.com/vector-im/riot-web/issues/8046.
This commit is contained in:
J. Ryan Stinnett 2019-01-10 15:13:44 -06:00
parent 2bd4579d0b
commit 35af3fc6f7
6 changed files with 114 additions and 17 deletions

View file

@ -14,11 +14,11 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
.mx_NewRecoveryMethodDialog .mx_Dialog_title {
.mx_KeyBackupFailedDialog .mx_Dialog_title {
margin-bottom: 32px;
}
.mx_NewRecoveryMethodDialog_title {
.mx_KeyBackupFailedDialog_title {
position: relative;
padding-left: 45px;
padding-bottom: 10px;
@ -36,6 +36,6 @@ limitations under the License.
}
}
.mx_NewRecoveryMethodDialog .mx_Dialog_buttons {
.mx_KeyBackupFailedDialog .mx_Dialog_buttons {
margin-top: 36px;
}