Skip to content

Commit

Permalink
fix: table style
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <[email protected]>
  • Loading branch information
Innei committed Apr 22, 2024
1 parent 0a525e1 commit 4dd3b7a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/components/link/title-link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const TableTitleLink = defineComponent({
{slots.default?.()}
{fullExternalLinkTo.value && (
<NButton
quaternary
text
tag="a"
class="cursor-[alias]"
// @ts-expect-error
Expand Down
8 changes: 6 additions & 2 deletions src/components/special-button/iframe-preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { MagnifyIcon } from 'components/icons'
import { ArticlePreview } from 'components/preview'
import { NButton, NPopover } from 'naive-ui'

import { Icon } from '@vicons/utils'

export const IframePreviewButton = defineComponent({
props: {
path: {
Expand All @@ -19,7 +21,7 @@ export const IframePreviewButton = defineComponent({
trigger() {
return (
<NButton
quaternary
text
type="primary"
tag="a"
// @ts-ignore
Expand All @@ -30,7 +32,9 @@ export const IframePreviewButton = defineComponent({
e.stopPropagation()
}}
>
<MagnifyIcon />
<Icon>
<MagnifyIcon />
</Icon>
</NButton>
)
},
Expand Down
7 changes: 1 addition & 6 deletions src/views/manage-files/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,7 @@ export default defineComponent({
{{
trigger() {
return (
<NButton
quaternary
type="error"
tertiary
size="tiny"
>
<NButton quaternary type="error" size="tiny">
删除
</NButton>
)
Expand Down

0 comments on commit 4dd3b7a

Please sign in to comment.