-
+
diff --git a/module/webui/scripts/menu_option.js b/module/webui/scripts/menu_option.js
index 23e8818..0d80055 100644
--- a/module/webui/scripts/menu_option.js
+++ b/module/webui/scripts/menu_option.js
@@ -105,7 +105,7 @@ export async function setupSystemAppMenu() {
// Add system app button
document.getElementById("add-system-app-button").addEventListener("click", async () => {
const input = document.getElementById("system-app-input");
- const packageName = input.value;
+ const packageName = input.value.trim();
if (packageName) {
try {
const result = await execCommand(`pm list packages -s | grep -q ${packageName} || echo "false"`);
diff --git a/module/webui/styles/system_app.css b/module/webui/styles/system_app.css
index 0eeb9e7..2af2a37 100644
--- a/module/webui/styles/system_app.css
+++ b/module/webui/styles/system_app.css
@@ -24,7 +24,7 @@
overflow-y: scroll;
padding: 30px;
background-color: #fff;
- border-radius: 10px;
+ border-radius: 15px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
@@ -54,7 +54,7 @@
}
.add-system-app-button {
- margin-top: 10px;
+ margin-top: 15px;
width: 100%;
padding: 12px;
border: none;
@@ -67,8 +67,9 @@
}
.current-system-app-list {
- margin-top: 20px;
+ margin-top: 25px;
margin-bottom: 10px;
+ user-select: none;
}
.current-system-app-list-content {