ssb: Fix some spacing in the permissions dialog.

This commit is contained in:
Cory McWilliams 2024-11-01 18:18:16 -04:00
parent cf1c57ccb8
commit e139e952c0

View File

@ -1174,7 +1174,7 @@ function api_requestPermission(permission, id) {
let div = document.createElement('div'); let div = document.createElement('div');
div.appendChild( div.appendChild(
document.createTextNode('This app is requesting the following permission:') document.createTextNode('This app is requesting the following permission: ')
); );
let span = document.createElement('span'); let span = document.createElement('span');
span.style = 'font-weight: bold'; span.style = 'font-weight: bold';
@ -1190,6 +1190,7 @@ function api_requestPermission(permission, id) {
check.classList.add('w3-check'); check.classList.add('w3-check');
check.classList.add('w3-blue'); check.classList.add('w3-blue');
div.appendChild(check); div.appendChild(check);
div.appendChild(document.createTextNode(' '));
let label = document.createElement('label'); let label = document.createElement('label');
label.htmlFor = check.id; label.htmlFor = check.id;
label.appendChild(document.createTextNode('Remember this decision.')); label.appendChild(document.createTextNode('Remember this decision.'));