Skip to content
Snippets Groups Projects
Commit 178fde36 authored by Kang Wang's avatar Kang Wang
Browse files

Update file App.css

parent 6d71092c
No related branches found
No related tags found
No related merge requests found
Pipeline #436541 passed
......@@ -720,6 +720,7 @@ div.formula_content {
text-align: center;
font-size: 0.9em;
display: flex; /* 使用Flexbox布局 */
align-items: center; /* 垂直居中所有子元素 */
}
div.formula_content .formula_line {
......@@ -729,9 +730,6 @@ div.formula_content .formula_line {
div.formula_content .formula_number {
flex: 0 0 20%; /* 分配20%宽度,不允许伸缩 */
position: relative; /* 相对定位,便于垂直居中 */
top: 50%;
transform: translateY(-50%); /* 垂直居中 */
text-align: right; /* 数字右对齐 */
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment