style(home): add overflow-y property to upload zone and adjust alignment for files

This commit is contained in:
666ghj 2026-02-22 23:40:40 +08:00
parent 040c745c86
commit a795405428

View file

@ -690,6 +690,7 @@ const startSimulation = () => {
.upload-zone { .upload-zone {
border: 1px dashed #CCC; border: 1px dashed #CCC;
height: 200px; height: 200px;
overflow-y: auto;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@ -698,6 +699,10 @@ const startSimulation = () => {
background: #FAFAFA; background: #FAFAFA;
} }
.upload-zone.has-files {
align-items: flex-start;
}
.upload-zone:hover { .upload-zone:hover {
background: #F0F0F0; background: #F0F0F0;
border-color: #999; border-color: #999;