From a691b73f80a691f9674a17c22094a6d30aea0b18 Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 14 Dec 2020 18:14:55 +0530 Subject: [PATCH] align the 'self-destruct' button to the right on the loading screen --- customize.dist/loading.js | 4 ++++ www/common/common-ui-elements.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/customize.dist/loading.js b/customize.dist/loading.js index 6e4781aaf..091ed9ad8 100644 --- a/customize.dist/loading.js +++ b/customize.dist/loading.js @@ -254,6 +254,10 @@ button:not(.btn).primary:hover{ background-color: rgb(52, 118, 162); } +nav { + text-align: right; +} + */}).toString().slice(14, -3); var urlArgs = window.location.href.replace(/^.*\?([^\?]*)$/, function (all, x) { return x; }); var elem = document.createElement('div'); diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index 81b202ee0..8fcb9b194 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -2552,7 +2552,7 @@ define([ var block = h('div#cp-loading-burn-after-reading', [ info, - button + h('nav', button), ]); UI.errorLoadingScreen(block); };