Skip to content

Commit 27aef0e

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

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

1.hello-world/8.read-video-nuxtjs/README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -341,8 +341,6 @@ onBeforeUnmount(async () => {
341341
display: flex;
342342
justify-content: center;
343343
align-items: center;
344-
width: 100%;
345-
height: 90%;
346344
border: 1px solid black
347345
}
348346
</style>
@@ -387,7 +385,7 @@ const showImgDecode = () => {
387385
<template>
388386
<div className="helloWorld">
389387
<h1>Hello World for Nuxt</h1>
390-
<div class="btn-group">
388+
<div>
391389
<button :style="{ marginRight: '10px', backgroundColor: bShowScanner ? 'rgb(255,174,55)' : 'white' }"
392390
@click="showScanner">Video Decode</button>
393391
<button :style="{ backgroundColor: bShowImgDecode ? 'rgb(255,174,55)' : 'white' }" @click="showImgDecode">Image
@@ -411,7 +409,6 @@ button {
411409
margin: 2vmin auto;
412410
text-align: center;
413411
font-size: medium;
414-
/* height: 40vh; */
415412
width: 80vw;
416413
}
417414
@@ -424,7 +421,6 @@ button {
424421
flex-direction: column;
425422
align-items: center;
426423
justify-content: center;
427-
overflow: hidden;
428424
width: 100%;
429425
height: 100%;
430426
color: #455a64;

1.hello-world/8.read-video-nuxtjs/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 Nuxt</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: 80vw;
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/8.read-video-nuxtjs/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)