Fix focus indicator for avatar file upload

This commit is contained in:
Philipp Ahrendt
2025-04-15 11:52:29 +02:00
parent 9423f54d6d
commit edca5a87ff
2 changed files with 8 additions and 1 deletions

View File

@@ -2620,7 +2620,8 @@ a.box:active {
cursor: pointer;
justify-content: flex-start;
overflow: hidden;
position: relative; }
position: relative;
border-radius: 4px; }
.file-label:hover .file-cta {
background-color: #eeeeee;
color: #363636; }
@@ -2631,6 +2632,10 @@ 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;