Skip to content

Commit 6df8042

Browse files
committed
remove unnecessary styles and update readme;
1 parent 2243166 commit 6df8042

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

1.hello-world/6.read-video-vue3/README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,6 @@ onBeforeUnmount(async () => {
335335
display: flex;
336336
justify-content: center;
337337
align-items: center;
338-
width: 100%;
339-
height: 90%;
340338
border: 1px solid black
341339
}
342340
</style>
@@ -381,7 +379,7 @@ const showImgDecode = () => {
381379
<template>
382380
<div className="helloWorld">
383381
<h1>Hello World for Vue 3 <img class="applogo" alt="Vue logo" src="../assets/logo.svg" /></h1>
384-
<div class="btn-group">
382+
<div>
385383
<button :style="{ marginRight: '10px', backgroundColor: bShowScanner ? 'rgb(255,174,55)' : 'white' }"
386384
@click="showScanner">Video Decode</button>
387385
<button :style="{ backgroundColor: bShowImgDecode ? 'rgb(255,174,55)' : 'white' }" @click="showImgDecode">Image
@@ -405,7 +403,6 @@ button {
405403
margin: 2vmin auto;
406404
text-align: center;
407405
font-size: medium;
408-
/* height: 40vh; */
409406
width: 100%;
410407
}
411408
@@ -418,7 +415,6 @@ button {
418415
flex-direction: column;
419416
align-items: center;
420417
justify-content: center;
421-
overflow: hidden;
422418
width: 100%;
423419
height: 100%;
424420
color: #455a64;

1.hello-world/6.read-video-vue3/src/components/HelloWorld.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const showImgDecode = () => {
3434
<template>
3535
<div className="helloWorld">
3636
<h1>Hello World for Vue 3 <img class="applogo" alt="Vue logo" src="../assets/logo.svg" /></h1>
37-
<div class="btn-group">
37+
<div>
3838
<button :style="{ marginRight: '10px', backgroundColor: bShowScanner ? 'rgb(255,174,55)' : 'white' }"
3939
@click="showScanner">Video Decode</button>
4040
<button :style="{ backgroundColor: bShowImgDecode ? 'rgb(255,174,55)' : 'white' }" @click="showImgDecode">Image
@@ -58,7 +58,6 @@ button {
5858
margin: 2vmin auto;
5959
text-align: center;
6060
font-size: medium;
61-
/* height: 40vh; */
6261
width: 100%;
6362
}
6463
@@ -71,7 +70,6 @@ button {
7170
flex-direction: column;
7271
align-items: center;
7372
justify-content: center;
74-
overflow: hidden;
7573
width: 100%;
7674
height: 100%;
7775
color: #455a64;

1.hello-world/6.read-video-vue3/src/components/ImgDecode.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ onBeforeUnmount(async () => {
4141
display: flex;
4242
justify-content: center;
4343
align-items: center;
44-
width: 100%;
45-
height: 90%;
4644
border: 1px solid black
4745
}
4846
</style>

0 commit comments

Comments
 (0)