Commit 9de4be95 by liimin

style: 调整外部链接卡片中按钮组的间距

- 将按钮组的 gap 属性从 2 改为 3,以优化布局
1 parent 425db4d4
...@@ -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">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!