File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -455,6 +455,9 @@ ol:not([class]) li:not([class])
455455.v-navigation-drawer--rail :not (.v-navigation-drawer--is-hovering ) .v-list-group__items * {
456456 display : none ;
457457}
458+ .v-navigation-drawer--top.v-navigation-drawer--active {
459+ height : auto !important ;
460+ }
458461
459462code {
460463 color : #e83e8c ;
Original file line number Diff line number Diff line change 55 would not allow to call the `.click()` method on the file input as it's not triggered from a user interaction.
66 -->
77 <v-dialog eager scrollable v-model =" dialog" max-width =" min(90vw, 1024px)" >
8- <v-card :title =" $t(mode === 'video' ? 'modalTitleVideoTag' : 'modalTitleImageTag')" >
8+ <v-card :title =" $t(mode === 'video' ? 'modalTitleVideoTag' : 'modalTitleImageTag')" id = " media-modal " >
99 <template #text >
1010 <v-file-input
1111 v-model =" inputFile"
8383 import { useI18n } from ' vue-i18n'
8484 import { useDisplay } from ' vuetify'
8585 import { saveAs } from ' file-saver'
86- import { mdiAlert , mdiCalendar } from ' @mdi/js'
86+ import { mdiAlert , mdiCalendar , mdiPaperclip } from ' @mdi/js'
8787
8888 const store = coreStore ()
8989 const { platform } = useDisplay ()
232232
233233 onMounted (() => {
234234 emitter .on (' tag-media' , show )
235+
236+ // Manually force this attribute onto the input field as Vuetify does not support setting it otherwise
237+ document .querySelector (' #media-modal input[type=file]' )?.setAttribute (' capture' , ' environment' )
235238 })
236239 onBeforeUnmount (() => {
237240 emitter .off (' tag-media' , show )
You can’t perform that action at this time.
0 commit comments