fix(ValueChainCard): 视图切换按钮始终靠右显示
使用 ml="auto" 确保切换按钮在流向关系视图时保持右侧位置 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -166,7 +166,8 @@ const ValueChainCard: React.FC<ValueChainCardProps> = memo(({
|
||||
/>
|
||||
)}
|
||||
|
||||
{/* 右侧:筛选与视图切换 */}
|
||||
{/* 右侧:筛选与视图切换 - 始终靠右 */}
|
||||
<Box ml="auto">
|
||||
<ValueChainFilterBar
|
||||
typeFilter={typeFilter}
|
||||
onTypeChange={setTypeFilter}
|
||||
@@ -175,6 +176,7 @@ const ValueChainCard: React.FC<ValueChainCardProps> = memo(({
|
||||
viewMode={viewMode}
|
||||
onViewModeChange={setViewMode}
|
||||
/>
|
||||
</Box>
|
||||
</Flex>
|
||||
|
||||
{/* 内容区域 */}
|
||||
|
||||
Reference in New Issue
Block a user