Fix missing focus indicator for file upload

This commit is contained in:
Viktor Egorov
2025-04-22 13:09:31 +02:00
parent edca5a87ff
commit f7bfb7a83a
3 changed files with 25 additions and 5 deletions

View File

@@ -2621,7 +2621,7 @@ a.box:active {
justify-content: flex-start;
overflow: hidden;
position: relative;
border-radius: 4px; }
}
.file-label:hover .file-cta {
background-color: #eeeeee;
color: #363636; }
@@ -2632,10 +2632,6 @@ a.box:active {
color: #363636; }
.file-label:active .file-name {
border-color: #cfcfcf; }
.file-label:has(.file-input:focus-visible){
outline: #af3ee7 3px solid;
outline-offset: 1px;
}
.file-input {
height: 0.01em;