icons: remove unused icons and fix css

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2019-10-12 16:48:35 +05:30
parent 3c3f550579
commit 10cd8fcb3e
3 changed files with 4 additions and 4 deletions

View File

@ -24,7 +24,7 @@
<span v-else-if="$route.params.id">
{{ $route.params.id }}
<a-button shape="circle" type="dashed" size="small" v-clipboard:copy="$route.params.id">
<a-icon type="copy" style="margin-left: 0px"/>
<a-icon type="copy" style="margin-left: -1px; margin-top: 1px"/>
</a-button>
</span>
<span v-else>{{ $t(tem.meta.title) }}</span>

View File

@ -12,7 +12,7 @@
<span v-else-if="$route.params.id">
{{ $route.params.id }}
<a-button shape="circle" type="dashed" size="small" v-clipboard:copy="$route.params.id">
<a-icon type="copy" style="margin-left: 0px"/>
<a-icon type="copy" style="margin-left: -1px; margin-top: 1px"/>
</a-button>
</span>
<span v-else>{{ $t(item.meta.title) }}</span>

View File

@ -8,9 +8,9 @@ import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
// import { far } from '@fortawesome/free-regular-svg-icons'
import { faCentos, faUbuntu, faSuse, faRedhat, faFedora, faLinux, faFreebsd, faApple, faWindows, faJava } from '@fortawesome/free-brands-svg-icons'
import { faLanguage, faMicrochip, faMemory, faDatabase, faEthernet, faCompactDisc } from '@fortawesome/free-solid-svg-icons'
import { faLanguage, faCompactDisc } from '@fortawesome/free-solid-svg-icons'
library.add(faCentos, faUbuntu, faSuse, faRedhat, faFedora, faLinux, faFreebsd, faApple, faWindows, faJava)
library.add(faLanguage, faMicrochip, faMemory, faDatabase, faEthernet, faCompactDisc)
library.add(faLanguage, faCompactDisc)
Vue.component('font-awesome-icon', FontAwesomeIcon)