Make some buttons bigger.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4509 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
Cory McWilliams 2023-10-11 19:26:52 +00:00
parent 0f4b4da0aa
commit e202c1a40e

View File

@ -110,10 +110,10 @@ class TfNavigationElement extends LitElement {
${Object.keys(this.permissions).map(key => html`
<div>
<span>${key}</span>: ${this.permissions[key] ? ' Allowed' : ' Denied'}
<button @click=${() => this.reset_permission(key)}>Reset</button>
<button @click=${() => this.reset_permission(key)} style='min-width: 3em; min-height: 3em">Reset</button>
</div>
`)}
<button @click=${() => this.show_permissions = false}>Close</button>
<button @click=${() => this.show_permissions = false} style="min-width: 3em; min-height: 3em">Close</button>
</div>
</div>
`;
@ -716,6 +716,8 @@ function api_requestPermission(permission, id) {
div = document.createElement('div');
for (let option of k_options) {
let button = document.createElement('button');
button.style.minWidth = '3em';
button.style.minHeight = '3em';
button.innerText = option.text;
button.id = option.id;
button.onclick = function() {