Skip to content

Commit

Permalink
Fix css: file-selector-button
Browse files Browse the repository at this point in the history
  • Loading branch information
vpodk committed Apr 5, 2024
1 parent 1e77286 commit af250b7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,17 @@ footer {
color: #304157;
}

header form [type='file'],
header form [type='file']::file-selector-button {
width: 54px;
height: 54px;
}

header form [type='file']::file-selector-button {
opacity: 0;
}

header form [type='file'] {
width: 54px;
height: 54px;
background: #fff no-repeat left url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234CADCD'%3E%3Cpath d='M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zM7 9l1.41 1.41L11 7.83V16h2V7.83l2.59 2.58L17 9l-5-5-5 5z'/%3E%3C/svg%3E");
}

Expand Down

0 comments on commit af250b7

Please sign in to comment.