From a316d696efcd060cc8b7046bcd218da41c391915 Mon Sep 17 00:00:00 2001 From: orzyyyy Date: Sun, 5 Jan 2020 15:47:59 +0800 Subject: [PATCH 1/2] fix: remove field applications to fix error onload --- src/manifest.json | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/manifest.json b/src/manifest.json index b0129d3..26e6dee 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,9 +1,4 @@ { - "applications": { - "gecko": { - "id": "noob@ainoob.com" - } - }, "manifest_version": 2, "name": "__MSG_appName__", "description": "__MSG_appDesc__", From dd13222cd3090937a89acc708fd7e5d3bf2380d6 Mon Sep 17 00:00:00 2001 From: orzyyyy Date: Sun, 5 Jan 2020 15:54:48 +0800 Subject: [PATCH 2/2] feat: add Affix for searched image --- src/searchResult/header/brief.tsx | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/src/searchResult/header/brief.tsx b/src/searchResult/header/brief.tsx index 3a1e431..21f6927 100644 --- a/src/searchResult/header/brief.tsx +++ b/src/searchResult/header/brief.tsx @@ -1,5 +1,5 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; -import { Card, Tooltip } from 'antd'; +import { Affix, Card, Tooltip } from 'antd'; import { inject, observer } from 'mobx-react'; import * as React from 'react'; import styled from 'styled-components'; @@ -53,19 +53,21 @@ export class Brief extends React.Component { actions.push(this.getUploadSearchActionItem()); } return ( - - - } - actions={actions} - /> - + + + + } + actions={actions} + /> + + ); }