Skip to content

Commit

Permalink
Redesign hide button in citation popup
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtcode committed Jan 12, 2024
1 parent 7d7d330 commit 6436913
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
7 changes: 7 additions & 0 deletions res/icons/16/hide.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 0 additions & 3 deletions res/icons/16/x-8.svg

This file was deleted.

4 changes: 2 additions & 2 deletions src/ui/popups/citation-popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { FormattedMessage } from 'react-intl';
import Popup from './popup';

import IconBlockquote from '../../../res/icons/16/cite.svg';
import IconCloseSmall from '../../../res/icons/16/x-8.svg';
import IconHide from '../../../res/icons/16/hide.svg';
import IconDocument from '../../../res/icons/16/page.svg';
import IconUndo from '../../../res/icons/16/show-item.svg';

Expand Down Expand Up @@ -42,7 +42,7 @@ function CitationPopup({ parentRef, citationState, viewMode }) {
<div className="title"><FormattedMessage id="noteEditor.editCitation"/></div>
</button>}
{citationState.popup.canRemove && <button onClick={handleRemove}>
<div className="icon"><IconCloseSmall/></div>
<div className="icon"><IconHide/></div>
<div className="title"><FormattedMessage id="noteEditor.removeCitation"/></div>
</button>}
</Popup>
Expand Down

0 comments on commit 6436913

Please sign in to comment.