Skip to content

Commit 8a88ff0

Browse files
committed
Use place-content: center;
1 parent 49d4bd1 commit 8a88ff0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

demo/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!-- just for tests -->
33
<video src="#" style="background-color: aqua"> TEST </video>
44

5-
<FileInput :state="state" :global-drop-zone="false">
5+
<FileInput :state="state" :global-drop-zone="true">
66
<FileInputSelectedInfo :state="state"/>
77
</FileInput>
88

src/components/FileInput.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ function onKeyDown(event: KeyboardEvent) {
234234
235235
label {
236236
display: flex;
237+
place-content: center;
237238
width: 100%;
238239
height: 100%;
239240
}

0 commit comments

Comments
 (0)