diff options
| author | Henry Jameson <me@hjkos.com> | 2020-10-19 19:38:49 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2020-10-20 20:28:11 +0300 |
| commit | 38142182774ea772aacc88f26586512d6279267f (patch) | |
| tree | d350aba1b9e19741c8219e6ae54d2fedd74cf71f /src/components/extra_buttons | |
| parent | 350f25016f7a42cf1775785dc0c3cb7e59bb321d (diff) | |
Some initial work on replacing icons with FA5
Diffstat (limited to 'src/components/extra_buttons')
| -rw-r--r-- | src/components/extra_buttons/extra_buttons.js | 4 | ||||
| -rw-r--r-- | src/components/extra_buttons/extra_buttons.vue | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/components/extra_buttons/extra_buttons.js b/src/components/extra_buttons/extra_buttons.js index 5e0c36bb..6892dabc 100644 --- a/src/components/extra_buttons/extra_buttons.js +++ b/src/components/extra_buttons/extra_buttons.js @@ -1,4 +1,8 @@ import Popover from '../popover/popover.vue' +import { library } from '@fortawesome/fontawesome-svg-core' +import { faEllipsisH } from '@fortawesome/free-solid-svg-icons' + +library.add(faEllipsisH) const ExtraButtons = { props: [ 'status' ], diff --git a/src/components/extra_buttons/extra_buttons.vue b/src/components/extra_buttons/extra_buttons.vue index 7a4e8642..0af264a5 100644 --- a/src/components/extra_buttons/extra_buttons.vue +++ b/src/components/extra_buttons/extra_buttons.vue @@ -73,9 +73,11 @@ </button> </div> </div> - <i + <FAIcon slot="trigger" - class="icon-ellipsis button-icon" + class="button-icon" + icon="ellipsis-h" + size="lg" /> </Popover> </template> |
