Skip to content

Commit 5fbe933

Browse files
committed
remove unnecessary styles and update readme;
1 parent 918125d commit 5fbe933

File tree

4 files changed

+2
-28
lines changed

4 files changed

+2
-28
lines changed

1.hello-world/3.read-video-angular/README.md

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ export class VideoDecodeComponent implements OnInit {
129129
justify-content: center;
130130
align-items: center;
131131
width: 100%;
132-
/* height: 90%; */
133132
border: 1px solid black
134133
}
135134
```
@@ -194,7 +193,7 @@ export class ImgDecodeComponent implements OnInit {
194193
<h1>Hello World for Angular<img style="height: 25px;" alt="logo" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTAgMjUwIj4KICAgIDxwYXRoIGZpbGw9IiNERDAwMzEiIGQ9Ik0xMjUgMzBMMzEuOSA2My4ybDE0LjIgMTIzLjFMMTI1IDIzMGw3OC45LTQzLjcgMTQuMi0xMjMuMXoiIC8+CiAgICA8cGF0aCBmaWxsPSIjQzMwMDJGIiBkPSJNMTI1IDMwdjIyLjItLjFWMjMwbDc4LjktNDMuNyAxNC4yLTEyMy4xTDEyNSAzMHoiIC8+CiAgICA8cGF0aCAgZmlsbD0iI0ZGRkZGRiIgZD0iTTEyNSA1Mi4xTDY2LjggMTgyLjZoMjEuN2wxMS43LTI5LjJoNDkuNGwxMS43IDI5LjJIMTgzTDEyNSA1Mi4xem0xNyA4My4zaC0zNGwxNy00MC45IDE3IDQwLjl6IiAvPgogIDwvc3ZnPg=="
195194
/>
196195
</h1>
197-
<div class="btn-group">
196+
<div>
198197
<button [ngStyle]="{'margin-right': '10px', 'background-color': bShowScanner ? 'rgb(255,174,55)' : 'white'}" (click)="showScanner()">Video Decode</button>
199198
<button [ngStyle]="{'background-color': !bShowScanner ? 'rgb(255,174,55)' : 'white'}" (click)="showImgDecode()">Image Decode</button>
200199
</div>
@@ -213,7 +212,6 @@ export class ImgDecodeComponent implements OnInit {
213212
flex-direction: column;
214213
align-items: center;
215214
justify-content: center;
216-
overflow: hidden;
217215
width: 100%;
218216
height: 100%;
219217
color: #455A64;
@@ -227,19 +225,8 @@ button {
227225
color: black;
228226
}
229227

230-
span {
231-
font-size: 0.8rem;
232-
}
233-
234-
.bigger {
235-
font-size: large;
236-
margin-bottom: 2%;
237-
}
238-
239228
.container {
240229
margin: 2vmin auto;
241-
text-align: center;
242-
font-size: medium;
243230
height: 70vh;
244231
width: 80vw;
245232
}

1.hello-world/3.read-video-angular/src/app/hello-world/hello-world.component.css

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
flex-direction: column;
44
align-items: center;
55
justify-content: center;
6-
overflow: hidden;
76
width: 100%;
87
height: 100%;
98
color: #455A64;
@@ -17,19 +16,8 @@ button {
1716
color: black;
1817
}
1918

20-
span {
21-
font-size: 0.8rem;
22-
}
23-
24-
.bigger {
25-
font-size: large;
26-
margin-bottom: 2%;
27-
}
28-
2919
.container {
3020
margin: 2vmin auto;
31-
text-align: center;
32-
font-size: medium;
3321
height: 70vh;
3422
width: 80vw;
3523
}

1.hello-world/3.read-video-angular/src/app/hello-world/hello-world.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<h1>Hello World for Angular<img style="height: 25px;" alt="logo" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTAgMjUwIj4KICAgIDxwYXRoIGZpbGw9IiNERDAwMzEiIGQ9Ik0xMjUgMzBMMzEuOSA2My4ybDE0LjIgMTIzLjFMMTI1IDIzMGw3OC45LTQzLjcgMTQuMi0xMjMuMXoiIC8+CiAgICA8cGF0aCBmaWxsPSIjQzMwMDJGIiBkPSJNMTI1IDMwdjIyLjItLjFWMjMwbDc4LjktNDMuNyAxNC4yLTEyMy4xTDEyNSAzMHoiIC8+CiAgICA8cGF0aCAgZmlsbD0iI0ZGRkZGRiIgZD0iTTEyNSA1Mi4xTDY2LjggMTgyLjZoMjEuN2wxMS43LTI5LjJoNDkuNGwxMS43IDI5LjJIMTgzTDEyNSA1Mi4xem0xNyA4My4zaC0zNGwxNy00MC45IDE3IDQwLjl6IiAvPgogIDwvc3ZnPg=="
33
/>
44
</h1>
5-
<div class="btn-group">
5+
<div>
66
<button [ngStyle]="{'margin-right': '10px', 'background-color': bShowScanner ? 'rgb(255,174,55)' : 'white'}" (click)="showScanner()">Video Decode</button>
77
<button [ngStyle]="{'background-color': !bShowScanner ? 'rgb(255,174,55)' : 'white'}" (click)="showImgDecode()">Image Decode</button>
88
</div>

1.hello-world/3.read-video-angular/src/app/img-decode/img-decode.component.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@
33
justify-content: center;
44
align-items: center;
55
width: 100%;
6-
/* height: 90%; */
76
border: 1px solid black
87
}

0 commit comments

Comments
 (0)