Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SMU-GDMU-CHINA
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
2024 Competition
SMU-GDMU-CHINA
Commits
178fde36
Commit
178fde36
authored
6 months ago
by
Kang Wang
Browse files
Options
Downloads
Patches
Plain Diff
Update file App.css
parent
6d71092c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#436541
passed
6 months ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/containers/App/App.css
+1
-3
1 addition, 3 deletions
src/containers/App/App.css
with
1 addition
and
3 deletions
src/containers/App/App.css
+
1
−
3
View file @
178fde36
...
...
@@ -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
;
/* 数字右对齐 */
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment