From 8ffbcd09f3bf315e0736d286129b5b1a625b6fa5 Mon Sep 17 00:00:00 2001 From: fusionate Date: Fri, 27 Sep 2024 12:43:45 -0600 Subject: [PATCH] Users - Edit: Minor visual adjustment to API Key Generate and View buttons. --- core/users/user_edit.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/users/user_edit.php b/core/users/user_edit.php index c6f74c4c9d..c5afb44919 100644 --- a/core/users/user_edit.php +++ b/core/users/user_edit.php @@ -1077,6 +1077,7 @@ echo button::create(['type'=>'button', 'label'=>$text['button-generate'], 'icon'=>'key', + 'style'=>'margin-top: 1px; margin-bottom: 1px;', 'onclick'=>"document.getElementById('api_key').value = '".generate_password(32,3)."'; document.getElementById('frm').submit();"]); } @@ -1086,6 +1087,7 @@ 'label'=>$text['button-view'], 'id'=>'button-api_key_view', 'icon'=>'key', + 'style'=>'margin-top: 1px; margin-bottom: 1px;', 'onclick'=>"document.getElementById ('button-api_key_view').style.display = 'none'; document.getElementById('api_key').style.display = 'inline'; document.getElementById('button-api_key_hide').style.display = 'inline';