修复按钮拉伸问题:添加 align-self: flex-start
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
- 为 .solution-link 添加 align-self: flex-start - 防止按钮在 flex 容器中被拉伸到整行宽度 - 按钮现在保持自身内容宽度 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -2796,6 +2796,7 @@ html {
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
box-shadow: 0 4px 16px rgba(56, 189, 248, 0.3);
|
box-shadow: 0 4px 16px rgba(56, 189, 248, 0.3);
|
||||||
|
align-self: flex-start;
|
||||||
}
|
}
|
||||||
|
|
||||||
.solution-link:hover {
|
.solution-link:hover {
|
||||||
|
|||||||
Reference in New Issue
Block a user