优化解决方案幻灯片布局:增大图片宽度并垂直居中文案
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
- 图片宽度从 500px 增加到 600px - 为 .solution-text 添加 flexbox 布局 - 使用 justify-content: center 让文案内容垂直居中 - 文案内容现在与整个卡片高度垂直居中对齐 - 视觉平衡性更好,布局更协调 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -2744,6 +2744,9 @@ html {
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
padding: 40px;
|
padding: 40px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.solution-text h3 {
|
.solution-text h3 {
|
||||||
@@ -2811,7 +2814,7 @@ html {
|
|||||||
/* 右侧图片区域 */
|
/* 右侧图片区域 */
|
||||||
.solution-image {
|
.solution-image {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
width: 500px;
|
width: 600px;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user