fix: ctrl+c shortcut, minor ui issues
This commit is contained in:
@@ -129,12 +129,14 @@ a {
|
|||||||
@apply text-primary;
|
@apply text-primary;
|
||||||
@apply font-semibold;
|
@apply font-semibold;
|
||||||
@apply py-1 px-2;
|
@apply py-1 px-2;
|
||||||
|
@apply truncate;
|
||||||
@apply shadow;
|
@apply shadow;
|
||||||
|
|
||||||
font-size: 88%;
|
font-size: 88%;
|
||||||
line-height: var(--body-line-height);
|
line-height: var(--body-line-height);
|
||||||
|
|
||||||
kbd {
|
kbd {
|
||||||
|
@apply inline-flex;
|
||||||
@apply font-sans;
|
@apply font-sans;
|
||||||
@apply bg-gray-500;
|
@apply bg-gray-500;
|
||||||
@apply bg-opacity-45;
|
@apply bg-opacity-45;
|
||||||
@@ -142,6 +144,7 @@ a {
|
|||||||
@apply rounded-sm;
|
@apply rounded-sm;
|
||||||
@apply px-1;
|
@apply px-1;
|
||||||
@apply ml-1;
|
@apply ml-1;
|
||||||
|
@apply truncate;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
// Tooltip color
|
// Tooltip color
|
||||||
--tooltip-color: theme("colors.true-gray.100");
|
--tooltip-color: theme("colors.true-gray.100");
|
||||||
// Popover color
|
// Popover color
|
||||||
--popover-color: theme("colors.true-gray.800");
|
--popover-color: theme("colors.dark.700");
|
||||||
// Editor theme
|
// Editor theme
|
||||||
--editor-theme: "merbivore_soft";
|
--editor-theme: "merbivore_soft";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -126,8 +126,11 @@ export default defineComponent({
|
|||||||
const filterText = this.filterText.toLowerCase()
|
const filterText = this.filterText.toLowerCase()
|
||||||
return Object.keys(entry).some((key) => {
|
return Object.keys(entry).some((key) => {
|
||||||
let value = entry[key]
|
let value = entry[key]
|
||||||
value = typeof value !== "string" ? value.toString() : value
|
if (value) {
|
||||||
return value.toLowerCase().includes(filterText)
|
value = typeof value !== "string" ? value.toString() : value
|
||||||
|
return value.toLowerCase().includes(filterText)
|
||||||
|
}
|
||||||
|
return false
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="flex flex-col flex-nowrap flex-1">
|
<div class="flex flex-col flex-nowrap flex-1">
|
||||||
<div class="rounded-t tabs hide-scrollbar relative" :class="styles">
|
<div class="tabs hide-scrollbar relative" :class="styles">
|
||||||
<div class="flex flex-1">
|
<div class="flex flex-1">
|
||||||
<div class="flex flex-1 justify-between">
|
<div class="flex flex-1 justify-between">
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ export const bindings: {
|
|||||||
} = {
|
} = {
|
||||||
"ctrl-g": "request.send-cancel",
|
"ctrl-g": "request.send-cancel",
|
||||||
"ctrl-i": "request.reset",
|
"ctrl-i": "request.reset",
|
||||||
"ctrl-c": "request.copy-link",
|
"ctrl-u": "request.copy-link",
|
||||||
"ctrl-s": "request.save",
|
"ctrl-s": "request.save",
|
||||||
"ctrl-shift-s": "request.save-as",
|
"ctrl-shift-s": "request.save-as",
|
||||||
"alt-up": "request.method.next",
|
"alt-up": "request.method.next",
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ export default [
|
|||||||
label: "shortcut.request.save_to_collections",
|
label: "shortcut.request.save_to_collections",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
keys: [getPlatformSpecialKey(), "C"],
|
keys: [getPlatformSpecialKey(), "U"],
|
||||||
label: "shortcut.request.copy_request_link",
|
label: "shortcut.request.copy_request_link",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user