mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-30 12:52:43 +08:00
doc: change edit on github button icon
This commit is contained in:
parent
0e08f16a0a
commit
8cd5abe766
@ -14,7 +14,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import editIcon from '../../src/_icons/create-outline'
|
||||
import editIcon from '../../src/_icons/git-commit-outline'
|
||||
|
||||
export default {
|
||||
name: 'EditOnGithubButton',
|
||||
|
@ -12,11 +12,11 @@
|
||||
|
||||
<template>
|
||||
<n-h1 :id="id" class="naive-doc-title">
|
||||
{{ text }}
|
||||
<span>{{ text }}</span>
|
||||
<span class="edit-button">
|
||||
<n-tooltip
|
||||
:delay="300"
|
||||
placement="right"
|
||||
placement="left"
|
||||
:show-arrow="true"
|
||||
>
|
||||
<template v-slot:activator>
|
||||
@ -55,6 +55,11 @@ export default {
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.naive-doc-title {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.naive-doc-title .edit-button {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
|
Loading…
Reference in New Issue
Block a user