Skip to content

Commit 85feeeb

Browse files
committed
🔧 chore(.claude): 添加Chrome DevTools MCP权限配置。
- 新增settings.local.json文件,配置Chrome DevTools MCP的权限白名单。 🌈 style(Version): 优化侧边栏版本组件的样式。 - 添加flex布局样式,确保内容居中对齐。
1 parent 1e64daf commit 85feeeb

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.claude/settings.local.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"mcp__chrome-devtools-mcp__list_pages",
5+
"mcp__chrome-devtools-mcp__navigate_page",
6+
"mcp__chrome-devtools-mcp__take_snapshot",
7+
"mcp__chrome-devtools-mcp__evaluate_script",
8+
"mcp__chrome-devtools-mcp__new_page"
9+
]
10+
}
11+
}

src/layout/components/Sidebar/Version.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ export default {
6262
.version-item {
6363
display: flex;
6464
align-items: center;
65+
justify-content: center;
6566
font-size: 12px;
6667
line-height: 24px;
6768
color: rgba(255, 255, 255, 0.7);
@@ -82,6 +83,9 @@ export default {
8283
}
8384
8485
.version-link {
86+
display: flex !important;
87+
align-items: center;
88+
justify-content: center;
8589
text-decoration: none;
8690
color: rgba(255, 255, 255, 0.7);
8791
cursor: pointer;

0 commit comments

Comments
 (0)