feat: display file chosen for input file (#35789)

Signed-off-by: DK Liao <dklassic@gmail.com>
This commit is contained in:
DK Liao 2025-03-10 12:55:38 +09:00 committed by GitHub
parent 34047f8da8
commit ce4ba30992
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 53 additions and 5 deletions

View file

@ -74,13 +74,17 @@ input[type="radio"]:checked::before { content: "●"; line-height: 1em; }
input[type="file"]::before {
content: "Choose File";
background: lightgrey;
border-top: solid 1px #EEEEEE;
border-left: solid 1px #CCCCCC;
border-right: solid 1px #999999;
border-bottom: solid 1px #999999;
}
input[type="file"] {
background: lightgrey;
text-align: center;
vertical-align: middle;
color: black;
border-style: none;
}
select {