@@ -60,7 +62,7 @@
@@ -254,6 +312,8 @@ const executeCommand = (command: QuickCommandFE) => {
list-style: none;
padding: 0;
margin: 0;
+ /* Ensure the list itself can scroll if needed, although container handles it */
+ /* overflow-y: auto; */ /* Let container handle scroll */
}
.command-item {
@@ -273,6 +333,18 @@ const executeCommand = (command: QuickCommandFE) => {
.command-item:hover {
background-color: var(--header-bg-color); /* Use header background for hover */
}
+/* Style for the keyboard-selected item */
+.command-item.selected {
+ background-color: var(--button-bg-color, #007bff); /* Use button background or fallback */
+ color: var(--button-text-color, white); /* Use button text color or fallback */
+}
+.command-item.selected .command-name,
+.command-item.selected .command-text,
+.command-item.selected .usage-count,
+.command-item.selected .action-button {
+ color: var(--button-text-color, white); /* Ensure text inside selected item is readable */
+}
+
.command-info {
display: flex;