Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
glsk-ai-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 9de4be95
authored
Jul 21, 2025
by
liimin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style: 调整外部链接卡片中按钮组的间距
- 将按钮组的 gap 属性从 2 改为 3,以优化布局
1 parent
425db4d4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
app/components/base/markdown/blocks/link/external.tsx
app/components/base/markdown/blocks/link/external.tsx
View file @
9de4be9
...
@@ -38,7 +38,7 @@ const ExternalLink: FC<LinkProps> = ({ node, children }) => {
...
@@ -38,7 +38,7 @@ const ExternalLink: FC<LinkProps> = ({ node, children }) => {
</div>
</div>
{/* 右侧:按钮组固定宽度 */}
{/* 右侧:按钮组固定宽度 */}
<div className="flex items-center gap-
2
">
<div className="flex items-center gap-
3
">
<button
<button
onClick={() => window.open(node.properties.href, '_blank')}
onClick={() => window.open(node.properties.href, '_blank')}
className="px-2 py-1 text-xs bg-primary-500 text-white rounded hover:bg-primary-600">
className="px-2 py-1 text-xs bg-primary-500 text-white rounded hover:bg-primary-600">
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment