Skip to content

Commit 3265337

Browse files
committed
style(styles): 调整消息容器居中显示
- 将消息容器从右侧对齐改为水平居中 - 使用 left:50% 和 transform: translateX(-50%) 实现居中定位 - 调整 align-items 为 center 以保持内容居中对齐
1 parent d08f98f commit 3265337

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

file_classification_webapi/static/styles.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -579,11 +579,12 @@ body.dark-mode .tree-node-info {
579579
#message-container {
580580
position: fixed;
581581
top: 20px;
582-
right: 20px;
582+
left: 50%;
583+
transform: translateX(-50%);
583584
z-index: 9999;
584585
display: flex;
585586
flex-direction: column;
586-
align-items: flex-end;
587+
align-items: center;
587588
gap: 10px;
588589
}
589590

0 commit comments

Comments
 (0)