Skip to content

Commit 74f805e

Browse files
committed
Change contribute fab icon from "+" to pencil/edit icon
More intuitive — users can immediately associate the pencil icon with writing/contributing content.
1 parent 7c47cf7 commit 74f805e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

js/shared.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ document.addEventListener('DOMContentLoaded', () => {
513513
ctFab.className = 'contribute-fab';
514514
ctFab.title = t('contribute');
515515
ctFab.setAttribute('aria-label', t('contribute'));
516-
ctFab.innerHTML = '<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"/></svg>';
516+
ctFab.innerHTML = '<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04a1 1 0 0 0 0-1.41l-2.34-2.34a1 1 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/></svg>';
517517
document.body.appendChild(ctFab);
518518

519519
const ctPopup = document.createElement('div');

0 commit comments

Comments
 (0)