Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
{
"applications": {
"gecko": {
"id": "[email protected]"
}
},
"manifest_version": 2,
"name": "__MSG_appName__",
"description": "__MSG_appDesc__",
Expand Down
30 changes: 16 additions & 14 deletions src/searchResult/header/brief.tsx
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -53,19 +53,21 @@ export class Brief extends React.Component {
actions.push(this.getUploadSearchActionItem());
}
return (
<BriefDiv>
<Card
style={{ width: '100%' }}
cover={
<img
id='searchImage'
alt='image searched'
src={base64 ? base64 : url}
/>
}
actions={actions}
/>
</BriefDiv>
<Affix>
<BriefDiv>
<Card
style={{ width: '100%' }}
cover={
<img
id='searchImage'
alt='image searched'
src={base64 ? base64 : url}
/>
}
actions={actions}
/>
</BriefDiv>
</Affix>
);
}

Expand Down