Skip to content

Commit 565b0ab

Browse files
authored
fix(form-file): Selected file name(s) not always showing
Due to Bootstrap V4.beta CSS specificity, teh cutom props or filenames were not always being displayed
1 parent 3e7e17d commit 565b0ab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/components/form-file.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
border-color: #28a745;
8888
}
8989
90-
/* Drag/Drop handling */
90+
/* Drag/Drop and filenames/prompts handling */
9191
.custom-file-control {
9292
overflow: hidden;
9393
}
@@ -101,11 +101,11 @@
101101
filter: blur(3px);
102102
}
103103
104-
.custom-file-control::after {
104+
.custom-file-control[data-selected]::after {
105105
content: attr(data-selected);
106106
}
107107
108-
.custom-file-control::before {
108+
.custom-file-control[data-choose]::before {
109109
content: attr(data-choose);
110110
}
111111

0 commit comments

Comments
 (0)