Style fix for tagpicker

This commit is contained in:
Elio Struyf
2022-04-07 10:09:30 +02:00
parent e06fcb8ced
commit db52e9c29a
2 changed files with 6 additions and 15 deletions
+6 -5
View File
@@ -173,20 +173,21 @@
.article__tags__input.freeform {
position: relative;
outline: 1px solid var(--vscode-inputValidation-infoBorder);
outline-offset: -1px;
}
.article__tags__input.freeform input {
padding-right: 35px;
border: 0;
}
.article__tags__input button {
position: absolute;
bottom: 1px;
top: 1px;
right: 1px;
bottom: 0;
top: 0;
right: 0;
width: 30px;
padding-bottom: 2px;
padding-top: 2px;
display: inline-flex;
align-items: center;
justify-content: center;
-10
View File
@@ -11,16 +11,6 @@ import { Messenger } from '@estruyf/vscode/dist/client';
import { DashboardMessage } from '../DashboardMessage';
import { EventData } from '@estruyf/vscode/dist/models';
const fuseOptions: Fuse.IFuseOptions<Page> = {
keys: [
{ name: 'title', weight: 0.8 },
{ name: 'slug', weight: 0.8 },
{ name: 'description', weight: 0.5 }
],
includeScore: true,
threshold: 0.1
};
export default function usePages(pages: Page[]) {
const [ pageItems, setPageItems ] = useState<Page[]>([]);
const [ sorting, setSorting ] = useRecoilState(SortingAtom);